[U-Boot-Users] [Patch 04/17] U-Boot-V2:ARM: Remove unwanted flags from Makefile

Menon, Nishanth x0nishan at ti.com
Wed May 21 18:26:00 CEST 2008


CFLAGS: "-D __ARM__" should have been "-D__ARM__". This breaks sparse check.
Further common flags defines else where are being re-defined here. This patch removes them.

Signed-off-by: Nishanth Menon<x0nishan at ti.com>

---
 arch/arm/Makefile |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Index: u-boot-v2.git/arch/arm/Makefile
===================================================================
--- u-boot-v2.git.orig/arch/arm/Makefile	2008-05-20 17:19:43.000000000 -0500
+++ u-boot-v2.git/arch/arm/Makefile	2008-05-20 17:26:33.000000000 -0500
@@ -1,6 +1,6 @@
 
-CPPFLAGS += -fno-builtin -ffreestanding -nostdinc -Wall 	\
-	-pipe -D __ARM__ -fno-strict-aliasing
+CPPFLAGS += -fno-builtin -ffreestanding\
+	-pipe -D__ARM__
 
 
 machine-$(CONFIG_ARCH_IMX)	   := imx
@@ -20,7 +20,8 @@
 TEXT_BASE = $(CONFIG_TEXT_BASE)
 
 CPPFLAGS += -mabi=apcs-gnu -DTEXT_BASE=$(TEXT_BASE) -P
-CFLAGS := -fno-common -msoft-float -Os
+CFLAGS += -Os
+
 
 # Add cleanup flags
 CPPFLAGS += -fdata-sections -ffunction-sections




More information about the U-Boot mailing list