Changeset 82d9087 in mainline for uspace/lib/posix/Makefile


Ignore:
Timestamp:
2018-08-01T20:20:52Z (6 years ago)
Author:
Jiří Zárevúcky <jiri.zarevucky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3b10ae36
Parents:
f787c8e
git-author:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-08-01 20:20:43)
git-committer:
Jiří Zárevúcky <jiri.zarevucky@…> (2018-08-01 20:20:52)
Message:

Use default linker scripts (as provided by the linker) in uspace.

There have been some issues before, but they appear to have been resolved
since then.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/Makefile

    rf787c8e r82d9087  
    3636
    3737SPECS = gcc.specs
    38 LIBC_LINKER_SCRIPT = $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld
    39 EXPORT_LINKER_SCRIPT = link.ld
    4038
    4139EXPORT_FILES = \
     
    4846        $(LIBC_PREFIX)/crt1.o \
    4947        $(LIBRARY).a \
    50         $(EXPORT_LINKER_SCRIPT) \
    5148        $(SPECS)
    5249
     
    5451EXTRA_CLEAN = $(INCLUDE_LIBC)
    5552
    56 EXTRA_OUTPUT = $(SPECS) $(EXPORT_LINKER_SCRIPT) $(EXPORT_STARTUP_FILE)
     53EXTRA_OUTPUT = $(SPECS)
    5754
    5855SOURCES = \
     
    9289EXPORT_LDFLAGS = \
    9390        -L$$(HELENOS_EXPORT_ROOT)/lib \
    94         -T link.ld \
    9591        $$(HELENOS_EXPORT_ROOT)/lib/crt0.o \
    9692        $$(HELENOS_EXPORT_ROOT)/lib/crt1.o
     
    114110        echo '$(EXPORT_LDLIBS)' >> $@.new
    115111        mv $@.new $@
    116 
    117 $(EXPORT_LINKER_SCRIPT): $(LIBC_LINKER_SCRIPT)
    118         cp $< $@
    119 
    120 $(EXPORT_STARTUP_FILE): $(LIBC_STARTUP_FILE)
    121         cp $< $@
    122112
    123113$(INCLUDE_LIBC): $(shell find ../c/include -name '*.h')
Note: See TracChangeset for help on using the changeset viewer.