Changeset 8416d46 in mainline for uspace/srv/Makefile.common


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/Makefile.common

    rccb785b r8416d46  
    5050SOFTINT_PREFIX = $(USPACE_PREFIX)/lib/softint
    5151
     52LINK_SCRIPT ?= $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld
     53
    5254JOB = $(OUTPUT).job
    5355
     
    6769    $(LIBS) \
    6870    \
    69     $(OUTPUT) $(OUTPUT).disasm
     71    $(OUTPUT) $(OUTPUT).disasm \
     72    $(EXTRA_OUTPUT)
    7073        -[ -f $(DEPEND) ] && mv -f $(DEPEND) $(DEPEND_PREV)
    7174
    7275clean:
    73         rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm
     76        rm -f $(DEPEND) $(DEPEND_PREV) $(JOB) $(OUTPUT) $(OUTPUT).map $(OUTPUT).disasm $(EXTRA_OUTPUT)
    7477        find . -name '*.o' -follow -exec rm \{\} \;
    7578
     
    8285
    8386$(OUTPUT): $(OBJECTS) $(LIBS)
    84         $(LD) -T $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map
     87        $(LD) -T $(LINK_SCRIPT) $(OBJECTS) $(LIBS) $(LFLAGS) -o $@ -Map $(OUTPUT).map
    8588
    8689%.o: %.c $(DEPEND)
Note: See TracChangeset for help on using the changeset viewer.