Changeset 8416d46 in mainline for uspace/srv/loader/Makefile


Ignore:
Timestamp:
2010-01-17T11:01:31Z (15 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3e30c0b
Parents:
ccb785b
Message:

Fix loader not using the correct linker script.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/loader/Makefile

    rccb785b r8416d46  
    3434LIBS = $(LIBC_PREFIX)/libc.a
    3535EXTRA_CFLAGS += -Iinclude
     36LINK_SCRIPT = arch/$(UARCH)/_link.ld
    3637
    3738OUTPUT = loader
     39EXTRA_OUTPUT = $(LINK_SCRIPT)
    3840
    3941GENERIC_SOURCES = \
     
    4648
    4749include ../Makefile.common
     50
     51$(LINK_SCRIPT): $(LINK_SCRIPT).in
     52        $(GCC) $(DEFS) $(CFLAGS) -DLIBC_PREFIX=$(LIBC_PREFIX) -E -x c $< | grep -v "^\#" > $@
Note: See TracChangeset for help on using the changeset viewer.