summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2008-06-03 12:39:45 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2008-06-03 12:39:45 +0200
commit847934bc960ba1588c87e283118318dfdd78d4c0 (patch)
treeb920bc3db045395baf792a27e31af3f874e4e37f /Makefile
parentb8725ffe1db57499eff887a8f10b726dc8946a03 (diff)
downloadbarebox-847934bc960ba1588c87e283118318dfdd78d4c0.tar.gz
barebox-847934bc960ba1588c87e283118318dfdd78d4c0.tar.xz
[kbuild] move -nostdinc from architecture Makefiles to toplevel
Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index ad45bdf937..c516e882f8 100644
--- a/Makefile
+++ b/Makefile
@@ -305,7 +305,8 @@ LINUXINCLUDE := -Iinclude \
$(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \
-include include/linux/autoconf.h
-CPPFLAGS := -D__KERNEL__ -D__U_BOOT__ $(LINUXINCLUDE) -fno-builtin -ffreestanding
+CPPFLAGS := -D__KERNEL__ -D__U_BOOT__ $(LINUXINCLUDE) -fno-builtin -ffreestanding \
+ -nostdinc
CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
-fno-strict-aliasing -fno-common -Os