aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68knommu/platform/532x
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@snapgear.com>2008-02-14 19:31:26 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2008-02-14 20:58:05 -0800
commitc25f0a0f7fc37f39341a120a945ff7fe06b8ab4e (patch)
tree55c0ca257a995462fca807d925689c43d2b8aa49 /arch/m68knommu/platform/532x
parentm68knommu: avoid unneccessary use of xchg() in set_mb() (diff)
downloadlinux-dev-c25f0a0f7fc37f39341a120a945ff7fe06b8ab4e.tar.xz
linux-dev-c25f0a0f7fc37f39341a120a945ff7fe06b8ab4e.zip
m68knommu: use asflags instead of EXTRA_AFLAGS
Modify the extra asm flags for debugger capabilities, use asflags instead for EXTRA_AFLAGS. Suggestion from Sam Ravnborg. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Cc: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m68knommu/platform/532x')
-rw-r--r--arch/m68knommu/platform/532x/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/m68knommu/platform/532x/Makefile b/arch/m68knommu/platform/532x/Makefile
index 475b92866a9b..e431912f5628 100644
--- a/arch/m68knommu/platform/532x/Makefile
+++ b/arch/m68knommu/platform/532x/Makefile
@@ -12,9 +12,7 @@
# EXTRA_AFLAGS += -DTRAP_DBG_INTERRUPT
#
-ifdef CONFIG_FULLDEBUG
-EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1
-endif
+asflags-$(CONFIG_FULLDEBUG) := -DDEBUGGER_COMPATIBLE_CACHE=1
#obj-y := config.o usb-mcf532x.o spi-mcf532x.o
obj-y := config.o