diff options
author | Greg Ungerer <gerg@snapgear.com> | 2008-02-14 22:31:26 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2008-02-14 23:58:05 -0500 |
commit | c25f0a0f7fc37f39341a120a945ff7fe06b8ab4e (patch) | |
tree | 55c0ca257a995462fca807d925689c43d2b8aa49 /arch | |
parent | 091b76d6aa788d8294caa2895cea1013f3eff7da (diff) |
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')
-rw-r--r-- | arch/m68knommu/platform/5206/Makefile | 4 | ||||
-rw-r--r-- | arch/m68knommu/platform/5206e/Makefile | 4 | ||||
-rw-r--r-- | arch/m68knommu/platform/520x/Makefile | 4 | ||||
-rw-r--r-- | arch/m68knommu/platform/523x/Makefile | 4 | ||||
-rw-r--r-- | arch/m68knommu/platform/5249/Makefile | 4 | ||||
-rw-r--r-- | arch/m68knommu/platform/5272/Makefile | 4 | ||||
-rw-r--r-- | arch/m68knommu/platform/527x/Makefile | 4 | ||||
-rw-r--r-- | arch/m68knommu/platform/528x/Makefile | 4 | ||||
-rw-r--r-- | arch/m68knommu/platform/5307/Makefile | 4 | ||||
-rw-r--r-- | arch/m68knommu/platform/532x/Makefile | 4 | ||||
-rw-r--r-- | arch/m68knommu/platform/5407/Makefile | 4 | ||||
-rw-r--r-- | arch/m68knommu/platform/coldfire/Makefile | 4 |
12 files changed, 12 insertions, 36 deletions
diff --git a/arch/m68knommu/platform/5206/Makefile b/arch/m68knommu/platform/5206/Makefile index c7bb0cef31a0..a439d9ab3f27 100644 --- a/arch/m68knommu/platform/5206/Makefile +++ b/arch/m68knommu/platform/5206/Makefile | |||
@@ -12,9 +12,7 @@ | |||
12 | # EXTRA_AFLAGS += -DTRAP_DBG_INTERRUPT | 12 | # EXTRA_AFLAGS += -DTRAP_DBG_INTERRUPT |
13 | # | 13 | # |
14 | 14 | ||
15 | ifdef CONFIG_FULLDEBUG | 15 | asflags-$(CONFIG_FULLDEBUG) := -DDEBUGGER_COMPATIBLE_CACHE=1 |
16 | EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 | ||
17 | endif | ||
18 | 16 | ||
19 | obj-y := config.o | 17 | obj-y := config.o |
20 | 18 | ||
diff --git a/arch/m68knommu/platform/5206e/Makefile b/arch/m68knommu/platform/5206e/Makefile index c7bb0cef31a0..a439d9ab3f27 100644 --- a/arch/m68knommu/platform/5206e/Makefile +++ b/arch/m68knommu/platform/5206e/Makefile | |||
@@ -12,9 +12,7 @@ | |||
12 | # EXTRA_AFLAGS += -DTRAP_DBG_INTERRUPT | 12 | # EXTRA_AFLAGS += -DTRAP_DBG_INTERRUPT |
13 | # | 13 | # |
14 | 14 | ||
15 | ifdef CONFIG_FULLDEBUG | 15 | asflags-$(CONFIG_FULLDEBUG) := -DDEBUGGER_COMPATIBLE_CACHE=1 |
16 | EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 | ||
17 | endif | ||
18 | 16 | ||
19 | obj-y := config.o | 17 | obj-y := config.o |
20 | 18 | ||
diff --git a/arch/m68knommu/platform/520x/Makefile b/arch/m68knommu/platform/520x/Makefile index 31b4eb51739d..a50e76acc8fd 100644 --- a/arch/m68knommu/platform/520x/Makefile +++ b/arch/m68knommu/platform/520x/Makefile | |||
@@ -12,8 +12,6 @@ | |||
12 | # EXTRA_AFLAGS += -DTRAP_DBG_INTERRUPT | 12 | # EXTRA_AFLAGS += -DTRAP_DBG_INTERRUPT |
13 | # | 13 | # |
14 | 14 | ||
15 | ifdef CONFIG_FULLDEBUG | 15 | asflags-$(CONFIG_FULLDEBUG) := -DDEBUGGER_COMPATIBLE_CACHE=1 |
16 | EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 | ||
17 | endif | ||
18 | 16 | ||
19 | obj-y := config.o | 17 | obj-y := config.o |
diff --git a/arch/m68knommu/platform/523x/Makefile b/arch/m68knommu/platform/523x/Makefile index ac9fbece8a4f..5694d593f029 100644 --- a/arch/m68knommu/platform/523x/Makefile +++ b/arch/m68knommu/platform/523x/Makefile | |||
@@ -12,8 +12,6 @@ | |||
12 | # EXTRA_AFLAGS += -DTRAP_DBG_INTERRUPT | 12 | # EXTRA_AFLAGS += -DTRAP_DBG_INTERRUPT |
13 | # | 13 | # |
14 | 14 | ||
15 | ifdef CONFIG_FULLDEBUG | 15 | asflags-$(CONFIG_FULLDEBUG) := -DDEBUGGER_COMPATIBLE_CACHE=1 |
16 | EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 | ||
17 | endif | ||
18 | 16 | ||
19 | obj-y := config.o | 17 | obj-y := config.o |
diff --git a/arch/m68knommu/platform/5249/Makefile b/arch/m68knommu/platform/5249/Makefile index c7bb0cef31a0..a439d9ab3f27 100644 --- a/arch/m68knommu/platform/5249/Makefile +++ b/arch/m68knommu/platform/5249/Makefile | |||
@@ -12,9 +12,7 @@ | |||
12 | # EXTRA_AFLAGS += -DTRAP_DBG_INTERRUPT | 12 | # EXTRA_AFLAGS += -DTRAP_DBG_INTERRUPT |
13 | # | 13 | # |
14 | 14 | ||
15 | ifdef CONFIG_FULLDEBUG | 15 | asflags-$(CONFIG_FULLDEBUG) := -DDEBUGGER_COMPATIBLE_CACHE=1 |
16 | EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 | ||
17 | endif | ||
18 | 16 | ||
19 | obj-y := config.o | 17 | obj-y := config.o |
20 | 18 | ||
diff --git a/arch/m68knommu/platform/5272/Makefile b/arch/m68knommu/platform/5272/Makefile index 7475c38c3b4e..26135d92b34d 100644 --- a/arch/m68knommu/platform/5272/Makefile +++ b/arch/m68knommu/platform/5272/Makefile | |||
@@ -12,9 +12,7 @@ | |||
12 | # EXTRA_AFLAGS += -DTRAP_DBG_INTERRUPT | 12 | # EXTRA_AFLAGS += -DTRAP_DBG_INTERRUPT |
13 | # | 13 | # |
14 | 14 | ||
15 | ifdef CONFIG_FULLDEBUG | 15 | asflags-$(CONFIG_FULLDEBUG) := -DDEBUGGER_COMPATIBLE_CACHE=1 |
16 | EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 | ||
17 | endif | ||
18 | 16 | ||
19 | obj-y := config.o | 17 | obj-y := config.o |
20 | 18 | ||
diff --git a/arch/m68knommu/platform/527x/Makefile b/arch/m68knommu/platform/527x/Makefile index 7475c38c3b4e..26135d92b34d 100644 --- a/arch/m68knommu/platform/527x/Makefile +++ b/arch/m68knommu/platform/527x/Makefile | |||
@@ -12,9 +12,7 @@ | |||
12 | # EXTRA_AFLAGS += -DTRAP_DBG_INTERRUPT | 12 | # EXTRA_AFLAGS += -DTRAP_DBG_INTERRUPT |
13 | # | 13 | # |
14 | 14 | ||
15 | ifdef CONFIG_FULLDEBUG | 15 | asflags-$(CONFIG_FULLDEBUG) := -DDEBUGGER_COMPATIBLE_CACHE=1 |
16 | EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 | ||
17 | endif | ||
18 | 16 | ||
19 | obj-y := config.o | 17 | obj-y := config.o |
20 | 18 | ||
diff --git a/arch/m68knommu/platform/528x/Makefile b/arch/m68knommu/platform/528x/Makefile index 7475c38c3b4e..26135d92b34d 100644 --- a/arch/m68knommu/platform/528x/Makefile +++ b/arch/m68knommu/platform/528x/Makefile | |||
@@ -12,9 +12,7 @@ | |||
12 | # EXTRA_AFLAGS += -DTRAP_DBG_INTERRUPT | 12 | # EXTRA_AFLAGS += -DTRAP_DBG_INTERRUPT |
13 | # | 13 | # |
14 | 14 | ||
15 | ifdef CONFIG_FULLDEBUG | 15 | asflags-$(CONFIG_FULLDEBUG) := -DDEBUGGER_COMPATIBLE_CACHE=1 |
16 | EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 | ||
17 | endif | ||
18 | 16 | ||
19 | obj-y := config.o | 17 | obj-y := config.o |
20 | 18 | ||
diff --git a/arch/m68knommu/platform/5307/Makefile b/arch/m68knommu/platform/5307/Makefile index 580fd6658d7c..cfd586860fd8 100644 --- a/arch/m68knommu/platform/5307/Makefile +++ b/arch/m68knommu/platform/5307/Makefile | |||
@@ -12,9 +12,7 @@ | |||
12 | # EXTRA_AFLAGS += -DTRAP_DBG_INTERRUPT | 12 | # EXTRA_AFLAGS += -DTRAP_DBG_INTERRUPT |
13 | # | 13 | # |
14 | 14 | ||
15 | ifdef CONFIG_FULLDEBUG | 15 | asflags-$(CONFIG_FULLDEBUG) := -DDEBUGGER_COMPATIBLE_CACHE=1 |
16 | EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 | ||
17 | endif | ||
18 | 16 | ||
19 | obj-y += config.o | 17 | obj-y += config.o |
20 | 18 | ||
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 @@ | |||
12 | # EXTRA_AFLAGS += -DTRAP_DBG_INTERRUPT | 12 | # EXTRA_AFLAGS += -DTRAP_DBG_INTERRUPT |
13 | # | 13 | # |
14 | 14 | ||
15 | ifdef CONFIG_FULLDEBUG | 15 | asflags-$(CONFIG_FULLDEBUG) := -DDEBUGGER_COMPATIBLE_CACHE=1 |
16 | EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 | ||
17 | endif | ||
18 | 16 | ||
19 | #obj-y := config.o usb-mcf532x.o spi-mcf532x.o | 17 | #obj-y := config.o usb-mcf532x.o spi-mcf532x.o |
20 | obj-y := config.o | 18 | obj-y := config.o |
diff --git a/arch/m68knommu/platform/5407/Makefile b/arch/m68knommu/platform/5407/Makefile index 68633b27df51..e6035e7a2d3f 100644 --- a/arch/m68knommu/platform/5407/Makefile +++ b/arch/m68knommu/platform/5407/Makefile | |||
@@ -12,9 +12,7 @@ | |||
12 | # EXTRA_AFLAGS += -DTRAP_DBG_INTERRUPT | 12 | # EXTRA_AFLAGS += -DTRAP_DBG_INTERRUPT |
13 | # | 13 | # |
14 | 14 | ||
15 | ifdef CONFIG_FULLDEBUG | 15 | asflags-$(CONFIG_FULLDEBUG) := -DDEBUGGER_COMPATIBLE_CACHE=1 |
16 | EXTRA_AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 | ||
17 | endif | ||
18 | 16 | ||
19 | obj-y := config.o | 17 | obj-y := config.o |
20 | 18 | ||
diff --git a/arch/m68knommu/platform/coldfire/Makefile b/arch/m68knommu/platform/coldfire/Makefile index e5fff297ae01..40cf20be1b90 100644 --- a/arch/m68knommu/platform/coldfire/Makefile +++ b/arch/m68knommu/platform/coldfire/Makefile | |||
@@ -12,9 +12,7 @@ | |||
12 | # EXTRA_AFLAGS += -DTRAP_DBG_INTERRUPT | 12 | # EXTRA_AFLAGS += -DTRAP_DBG_INTERRUPT |
13 | # | 13 | # |
14 | 14 | ||
15 | ifdef CONFIG_FULLDEBUG | 15 | asflags-$(CONFIG_FULLDEBUG) := -DDEBUGGER_COMPATIBLE_CACHE=1 |
16 | AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1 | ||
17 | endif | ||
18 | 16 | ||
19 | obj-$(CONFIG_COLDFIRE) += dma.o entry.o vectors.o | 17 | obj-$(CONFIG_COLDFIRE) += dma.o entry.o vectors.o |
20 | obj-$(CONFIG_M5206) += timers.o | 18 | obj-$(CONFIG_M5206) += timers.o |