summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2008-06-03 12:37:52 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2008-06-03 12:37:52 +0200
commitb8725ffe1db57499eff887a8f10b726dc8946a03 (patch)
treee13b01d0d3eab0469e1b419ba7ae675557a95bca /Makefile
parentbca64df5016ce0cb6c69b8f55ae286916cb848b2 (diff)
downloadbarebox-b8725ffe1db57499eff887a8f10b726dc8946a03.tar.gz
barebox-b8725ffe1db57499eff887a8f10b726dc8946a03.tar.xz
[kbuild] move -ffreestanding from architecture Makefiles to toplevel
Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 273309c705..ad45bdf937 100644
--- a/Makefile
+++ b/Makefile
@@ -305,7 +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
+CPPFLAGS := -D__KERNEL__ -D__U_BOOT__ $(LINUXINCLUDE) -fno-builtin -ffreestanding
CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
-fno-strict-aliasing -fno-common -Os