Changeset b006bfb8 in mainline for uspace/lib/libc/Makefile


Ignore:
Timestamp:
2007-09-17T17:29:49Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c0cdcaf
Parents:
a0edf5f
Message:

Modify parts of the build system and libc to support building applications on
paths with differing distances from lib/libc (e.g. uspace/srv/ns and
uspace/srv/fs/fat).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/Makefile

    ra0edf5f rb006bfb8  
    3030#
    3131
    32 LIBC_PREFIX = .
     32LIBC_PREFIX = $(shell pwd)
    3333SOFTINT_PREFIX = ../softint
    3434CONSOLE_PREFIX = ../../srv/console
     
    104104
    105105arch/$(ARCH)/_link.ld: arch/$(ARCH)/_link.ld.in
    106         $(CC) $(DEFS) $(CFLAGS) -E -x c $< | grep -v "^\#" > $@
     106        $(CC) $(DEFS) $(CFLAGS) -DLIBC_PREFIX=$(LIBC_PREFIX) -E -x c $< | grep -v "^\#" > $@
    107107
    108108%.o: %.S
Note: See TracChangeset for help on using the changeset viewer.