summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2007-07-05 18:01:53 +0200
committerSascha Hauer <sha@octopus.labnet.pengutronix.de>2007-07-05 18:01:53 +0200
commita8b814d5299b2ed79d9f17d9a43fd352b52eb047 (patch)
tree4a4580af201ff3a77a46ecc120e418f15f795578 /Makefile
parent2eec7c7d41e7395084306335237e2e71fe1a874b (diff)
downloadbarebox-a8b814d5299b2ed79d9f17d9a43fd352b52eb047.tar.gz
barebox-a8b814d5299b2ed79d9f17d9a43fd352b52eb047.tar.xz
svn_rev_428
add -D __U_BOOT__
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b1c029cf45..39e10bd092 100644
--- a/Makefile
+++ b/Makefile
@@ -294,7 +294,7 @@ LINUXINCLUDE := -Iinclude \
$(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \
-include include/linux/autoconf.h
-CPPFLAGS := -D__KERNEL__ $(LINUXINCLUDE)
+CPPFLAGS := -D__KERNEL__ -D__U_BOOT__ $(LINUXINCLUDE)
CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
-fno-strict-aliasing -fno-common