Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -2,7 +2,4 @@
# 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
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@
#

ifdef CONFIG_FULLDEBUG
AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1
EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1
endif

obj-y := config.o
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@
#

ifdef CONFIG_FULLDEBUG
AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1
EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1
endif

obj-y := config.o
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@
#

ifdef CONFIG_FULLDEBUG
AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1
EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1
endif

obj-y := config.o
+1 −1
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@
#

ifdef CONFIG_FULLDEBUG
AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1
EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1
endif

obj-y := config.o
Loading