diff options
author | wdenk <wdenk> | 2003-06-25 22:26:29 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2003-06-25 22:26:29 +0000 |
commit | b783edaee8252bfdba3f7b3fd29519a81ce71e42 (patch) | |
tree | 6993a909d2c21a3f07c51020edcc202a5697da91 /config.mk | |
parent | a300d83cb8ad20b844e957587705675e9ac14147 (diff) | |
download | u-boot-imx-b783edaee8252bfdba3f7b3fd29519a81ce71e42.zip u-boot-imx-b783edaee8252bfdba3f7b3fd29519a81ce71e42.tar.gz u-boot-imx-b783edaee8252bfdba3f7b3fd29519a81ce71e42.tar.bz2 |
* Header file cleanup for ARM
* Patch by Murray Jensen, 24 Jun 2003:
- make sure to use only U-boot provided header files
- fix problems with ".rodata.str1.4" section as used by GCC-3.x
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -107,10 +107,12 @@ LDSCRIPT := $(TOPDIR)/board/$(BOARDDIR)/u-boot.lds endif OBJCFLAGS += --gap-fill=0xff +gccincdir := $(shell $(CC) -print-file-name=include) + CPPFLAGS := $(DBGFLAGS) $(OPTFLAGS) $(RELFLAGS) \ -D__KERNEL__ -DTEXT_BASE=$(TEXT_BASE) \ -I$(TOPDIR)/include \ - -fno-builtin \ + -fno-builtin -nostdinc -isystem $(gccincdir) \ -pipe $(PLATFORM_CPPFLAGS) ifdef BUILD_TAG |