Sascha,
Makefiles were updated in last couple of days.
Retrying with further fixes for sparse to work:
CFLAGS: "-D __ARM__" should have been "-D__ARM__".
Further -nostdinc in Makefile is redfined by
commit ID:847934bc960ba1588c87e283118318dfdd78d4c0
This is unnecessary as NOSTDINC_FLAGS in root Makefile defines it
Signed-off-by: Nishanth Menon<[EMAIL PROTECTED]>
---
Makefile | 3 +--
arch/arm/Makefile | 2 +-
2 files changed, 2 insertions(+), 3 deletions(-)
Index: u-boot.v2/arch/arm/Makefile
===================================================================
--- u-boot.v2.orig/arch/arm/Makefile 2008-06-03 20:19:34.000000000 -0500
+++ u-boot.v2/arch/arm/Makefile 2008-06-03 20:19:50.000000000 -0500
@@ -1,5 +1,5 @@
-CPPFLAGS += -D __ARM__ -fno-strict-aliasing
+CPPFLAGS += -D__ARM__ -fno-strict-aliasing
machine-$(CONFIG_ARCH_IMX) := imx
Index: u-boot.v2/Makefile
===================================================================
--- u-boot.v2.orig/Makefile 2008-06-03 20:19:27.000000000 -0500
+++ u-boot.v2/Makefile 2008-06-03 20:20:17.000000000 -0500
@@ -305,8 +305,7 @@
$(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
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
U-Boot-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/u-boot-users