Changeset a05ec66 in mainline for uspace/lib/c/Makefile


Ignore:
Timestamp:
2018-05-25T15:42:06Z (7 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a57fa32
Parents:
774aa332
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-05-25 15:42:06)
git-committer:
GitHub <noreply@…> (2018-05-25 15:42:06)
Message:

Don't use custom ldscripts in uspace. (#38)

Even with the *-linux-gnu targets, there is practically nothing Linux-specific
in the linker itself. We get a few GNU program headers this way, but those
can be safely ignored.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/Makefile

    r774aa332 ra05ec66  
    3333CONFIG_MAKEFILE = $(ROOT_PATH)/Makefile.config
    3434
    35 LINKER_SCRIPTS = \
    36         $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld \
    37         $(LIBC_PREFIX)/arch/$(UARCH)/_link-shlib.ld \
    38         $(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld
    39 
    40 PRE_DEPEND =
    41 EXTRA_OUTPUT = $(LINKER_SCRIPTS)
    42 EXTRA_CLEAN = $(LINKER_SCRIPTS)
    4335LIBRARY = libc
    4436SOVERSION = 0.0
     
    190182include $(USPACE_PREFIX)/Makefile.common
    191183
    192 $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in
    193         $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -E -x c $< | grep -v "^\#" > $@
    194 
    195 $(LIBC_PREFIX)/arch/$(UARCH)/_link-shlib.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in
    196         $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DSHLIB -E -x c $< | grep -v "^\#" > $@
    197 
    198 $(LIBC_PREFIX)/arch/$(UARCH)/_link-dlexe.ld: $(LIBC_PREFIX)/arch/$(UARCH)/_link.ld.in
    199         $(CC) $(DEFS) $(CFLAGS) -DLIBC_PATH=$(CURDIR) -DDLEXE -E -x c $< | grep -v "^\#" > $@
    200 
    201184AUTOCHECK = $(realpath $(ROOT_PATH)/tools/autocheck.awk)
    202185
Note: See TracChangeset for help on using the changeset viewer.