summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorNishanth Menon <x0nishan@ti.com>2008-06-05 19:45:14 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2008-06-05 19:45:14 +0200
commit1ecafc5f8dc2bf793436264200422aea89ae1c7c (patch)
tree33a749c00972ed36dc53be89096f7a0dbcb022dc /Makefile
parenta5a28b68292cb109ae19b738dacbf5fbfed8ed08 (diff)
downloadbarebox-1ecafc5f8dc2bf793436264200422aea89ae1c7c.tar.gz
barebox-1ecafc5f8dc2bf793436264200422aea89ae1c7c.tar.xz
004-arm-makefile
[Patch 04/17] U-Boot-V2:ARM: Remove unwanted flags from Makefile CFLAGS: "-D __ARM__" should have been "-D__ARM__". this breaks sparse check. Further -nostdinc in Makefile is redfined by commit ID:847934bc960ba1588c87e283118318dfdd78d4c0 This is unecessary as NOSTDINC_FLAGS defines it Signed-off-by: Nishanth Menon<x0nishan@ti.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f175100d4e..30516ce413 100644
--- a/Makefile
+++ b/Makefile
@@ -305,8 +305,7 @@ LINUXINCLUDE := -Iinclude \
$(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \
-include include/linux/autoconf.h
-CPPFLAGS := -D__KERNEL__ -D__U_BOOT__ $(LINUXINCLUDE) -fno-builtin -ffreestanding \
- -nostdinc
+CPPFLAGS := -D__KERNEL__ -D__U_BOOT__ $(LINUXINCLUDE) -fno-builtin -ffreestanding
CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
-fno-strict-aliasing -fno-common -Os -pipe