Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/loader/Makefile

    rbfdb5af1 r1b1164e8  
    3636-include $(COMMON_MAKEFILE)
    3737-include $(CONFIG_MAKEFILE)
     38-include arch/$(UARCH)/Makefile.inc
    3839
    39 LINKER_SCRIPT = $(LIBC_PREFIX)/arch/$(UARCH)/_link-loader.ld
     40LINKER_SCRIPT = arch/$(UARCH)/_link.ld
     41EXTRA_CLEAN = $(LINKER_SCRIPT)
     42
     43EXTRA_CFLAGS = -Iinclude
    4044
    4145BINARY = loader
    42 STATIC_ONLY = y
    4346
    4447GENERIC_SOURCES = \
    4548        main.c \
     49        elf_load.c \
    4650        interp.s
    4751
     
    5155
    5256include $(USPACE_PREFIX)/Makefile.common
     57
     58$(LINKER_SCRIPT): $(LINKER_SCRIPT).in
     59        $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PREFIX=$(LIBC_PREFIX) -E -x c $< | grep -v "^\#" > $@
Note: See TracChangeset for help on using the changeset viewer.