004-arm-makefile
[Patch 04/17] U-Boot-V2:ARM: Remove unwanted flags from Makefile CFLAGS: "-D __ARM__" should have been "-D__ARM__". this breaks sparse check. Further -nostdinc in Makefile is redfined by commit ID:847934bc960ba1588c87e283118318dfdd78d4c0 This is unecessary as NOSTDINC_FLAGS defines it Signed-off-by: Nishanth Menon<x0nishan@ti.com>
This commit is contained in:
parent
a5a28b6829
commit
1ecafc5f8d
3
Makefile
3
Makefile
|
@ -305,8 +305,7 @@ LINUXINCLUDE := -Iinclude \
|
||||||
$(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \
|
$(if $(KBUILD_SRC),-Iinclude2 -I$(srctree)/include) \
|
||||||
-include include/linux/autoconf.h
|
-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 \
|
CFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
|
||||||
-fno-strict-aliasing -fno-common -Os -pipe
|
-fno-strict-aliasing -fno-common -Os -pipe
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
CPPFLAGS += -D __ARM__ -fno-strict-aliasing
|
CPPFLAGS += -D__ARM__ -fno-strict-aliasing
|
||||||
|
|
||||||
|
|
||||||
machine-$(CONFIG_ARCH_IMX) := imx
|
machine-$(CONFIG_ARCH_IMX) := imx
|
||||||
|
|
Loading…
Reference in New Issue