Changeset 3e30c0b in mainline for uspace/srv/loader/Makefile


Ignore:
Timestamp:
2010-01-17T11:02:13Z (15 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3c081d0e
Parents:
cec261e (diff), 8416d46 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge fix for loader not using the correct linker script.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/loader/Makefile

    rcec261e r3e30c0b  
    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.