Changeset fcd7053 in mainline for uspace/lib/libc/Makefile.toolchain


Ignore:
Timestamp:
2009-02-12T20:11:25Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
fa024ce
Parents:
84266669
Message:

cleanup configuration
code cleanup

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/Makefile.toolchain

    r84266669 rfcd7053  
    2727#
    2828
    29 DEFS = -DARCH=$(ARCH)
    30 CFLAGS = -fno-builtin -Wall -Werror-implicit-function-declaration -Wmissing-prototypes -O3 -nostdlib -nostdinc -I$(LIBC_PREFIX)/include -pipe -g
     29CFLAGS = -fno-builtin -Wall -Werror-implicit-function-declaration -Wmissing-prototypes -O3 -nostdlib -nostdinc -imacros $(LIBC_PREFIX)/../../../config.h -I$(LIBC_PREFIX)/include -pipe -g
    3130LFLAGS = -M -N $(SOFTINT_PREFIX)/libsoftint.a
    3231AFLAGS =
     
    3534#
    3635
    37 -include $(LIBC_PREFIX)/arch/$(ARCH)/Makefile.inc
     36-include $(LIBC_PREFIX)/../../../Makefile.config
     37-include $(LIBC_PREFIX)/../../../config.defs
     38-include $(LIBC_PREFIX)/arch/$(UARCH)/Makefile.inc
    3839
    3940## Simple detection of the host system
     
    5960        OBJCOPY = $(BINUTILS_PREFIX)objcopy
    6061        OBJDUMP = $(BINUTILS_PREFIX)objdump
     62        DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)
    6163endif
    6264
     
    6870        OBJCOPY = objcopy
    6971        OBJDUMP = objdump
     72        DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)
    7073endif
    7174
     
    7780        OBJCOPY = $(TOOLCHAIN_DIR)/$(TARGET)-objcopy
    7881        OBJDUMP = $(TOOLCHAIN_DIR)/$(TARGET)-objdump
     82        DEPEND_DEFS = $(DEFS) $(CONFIG_DEFS)
    7983endif
    80 
Note: See TracChangeset for help on using the changeset viewer.