Commit 714055ed authored by Sam Ravnborg's avatar Sam Ravnborg

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: default avatarSam Ravnborg <sam@ravnborg.org>
Cc: Greg Ungerer <gerg@uclinux.org>
Cc: Yoshinori Sato <ysato@users.sourceforge.jp>
parent 0c53c8e6
...@@ -2,7 +2,4 @@ ...@@ -2,7 +2,4 @@
# Makefile for H8/300-specific library files.. # Makefile for H8/300-specific library files..
# #
.S.o:
$(CC) $(AFLAGS) -D__ASSEMBLY__ -c $< -o $@
lib-y = ashrdi3.o checksum.o memcpy.o memset.o abs.o romfs.o lib-y = ashrdi3.o checksum.o memcpy.o memset.o abs.o romfs.o
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# #
ifdef CONFIG_FULLDEBUG ifdef CONFIG_FULLDEBUG
AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1
endif endif
obj-y := config.o obj-y := config.o
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# #
ifdef CONFIG_FULLDEBUG ifdef CONFIG_FULLDEBUG
AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1
endif endif
obj-y := config.o obj-y := config.o
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# #
ifdef CONFIG_FULLDEBUG ifdef CONFIG_FULLDEBUG
AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1
endif endif
obj-y := config.o obj-y := config.o
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# #
ifdef CONFIG_FULLDEBUG ifdef CONFIG_FULLDEBUG
AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1
endif endif
obj-y := config.o obj-y := config.o
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# #
ifdef CONFIG_FULLDEBUG ifdef CONFIG_FULLDEBUG
AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1
endif endif
obj-y := config.o obj-y := config.o
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# #
ifdef CONFIG_FULLDEBUG ifdef CONFIG_FULLDEBUG
AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1
endif endif
obj-y := config.o obj-y := config.o
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# #
ifdef CONFIG_FULLDEBUG ifdef CONFIG_FULLDEBUG
AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1
endif endif
obj-y := config.o obj-y := config.o
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# #
ifdef CONFIG_FULLDEBUG ifdef CONFIG_FULLDEBUG
AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1
endif endif
obj-y := config.o obj-y := config.o
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# #
ifdef CONFIG_FULLDEBUG ifdef CONFIG_FULLDEBUG
AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1
endif endif
obj-$(CONFIG_COLDFIRE) += entry.o vectors.o obj-$(CONFIG_COLDFIRE) += entry.o vectors.o
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# #
ifdef CONFIG_FULLDEBUG ifdef CONFIG_FULLDEBUG
AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1
endif endif
#obj-y := config.o usb-mcf532x.o spi-mcf532x.o #obj-y := config.o usb-mcf532x.o spi-mcf532x.o
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
# #
ifdef CONFIG_FULLDEBUG ifdef CONFIG_FULLDEBUG
AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1
endif endif
obj-y := config.o obj-y := config.o
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment