Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

kbuild: fix AFLAGS use in h8300 and m68knommu

In most cases when AFALGS is manipuled direct this is a bug
and EXTRA_AFLAGS should have been used.
Fix the obvious candidates.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Greg Ungerer <gerg@uclinux.org>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>

+11 -14
-3
arch/h8300/lib/Makefile
··· 2 2 # Makefile for H8/300-specific library files.. 3 3 # 4 4 5 - .S.o: 6 - $(CC) $(AFLAGS) -D__ASSEMBLY__ -c $< -o $@ 7 - 8 5 lib-y = ashrdi3.o checksum.o memcpy.o memset.o abs.o romfs.o
+1 -1
arch/m68knommu/platform/5206/Makefile
··· 13 13 # 14 14 15 15 ifdef CONFIG_FULLDEBUG 16 - AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 16 + EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 17 17 endif 18 18 19 19 obj-y := config.o
+1 -1
arch/m68knommu/platform/5206e/Makefile
··· 13 13 # 14 14 15 15 ifdef CONFIG_FULLDEBUG 16 - AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 16 + EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 17 17 endif 18 18 19 19 obj-y := config.o
+1 -1
arch/m68knommu/platform/520x/Makefile
··· 13 13 # 14 14 15 15 ifdef CONFIG_FULLDEBUG 16 - AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 16 + EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 17 17 endif 18 18 19 19 obj-y := config.o
+1 -1
arch/m68knommu/platform/523x/Makefile
··· 13 13 # 14 14 15 15 ifdef CONFIG_FULLDEBUG 16 - AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 16 + EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 17 17 endif 18 18 19 19 obj-y := config.o
+1 -1
arch/m68knommu/platform/5249/Makefile
··· 13 13 # 14 14 15 15 ifdef CONFIG_FULLDEBUG 16 - AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 16 + EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 17 17 endif 18 18 19 19 obj-y := config.o
+1 -1
arch/m68knommu/platform/5272/Makefile
··· 13 13 # 14 14 15 15 ifdef CONFIG_FULLDEBUG 16 - AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 16 + EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 17 17 endif 18 18 19 19 obj-y := config.o
+1 -1
arch/m68knommu/platform/527x/Makefile
··· 13 13 # 14 14 15 15 ifdef CONFIG_FULLDEBUG 16 - AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 16 + EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 17 17 endif 18 18 19 19 obj-y := config.o
+1 -1
arch/m68knommu/platform/528x/Makefile
··· 13 13 # 14 14 15 15 ifdef CONFIG_FULLDEBUG 16 - AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 16 + EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 17 17 endif 18 18 19 19 obj-y := config.o
+1 -1
arch/m68knommu/platform/5307/Makefile
··· 13 13 # 14 14 15 15 ifdef CONFIG_FULLDEBUG 16 - AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 16 + EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 17 17 endif 18 18 19 19 obj-$(CONFIG_COLDFIRE) += entry.o vectors.o
+1 -1
arch/m68knommu/platform/532x/Makefile
··· 13 13 # 14 14 15 15 ifdef CONFIG_FULLDEBUG 16 - AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 16 + EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 17 17 endif 18 18 19 19 #obj-y := config.o usb-mcf532x.o spi-mcf532x.o
+1 -1
arch/m68knommu/platform/5407/Makefile
··· 13 13 # 14 14 15 15 ifdef CONFIG_FULLDEBUG 16 - AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 16 + EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 17 17 endif 18 18 19 19 obj-y := config.o