mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Greg Ungerer <gerg@snapgear.com>
To: torvalds@linux-foundation.org
Cc: gerg@uclinux.org, linux-kernel@vger.kernel.org
Subject: [M68KNOMMU]: use asflags instead of EXTRA_AFLAGS
Date: Tue, 12 Feb 2008 16:12:01 +1000	[thread overview]
Message-ID: <200802120612.m1C6C1Jt009946@goober> (raw)

Modify the extra asm flags for debugger capabilities,
use asflags instead for EXTRA_AFLAGS. Suggestion from
Sam Ravnborg <sam@ravnborg.org>.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
---

diff -Naurp linux-2.6.25-rc1/arch/m68knommu/platform/5206/Makefile linux-2.6.x/arch/m68knommu/platform/5206/Makefile
--- linux-2.6.25-rc1/arch/m68knommu/platform/5206/Makefile	2008-01-25 08:58:37.000000000 +1000
+++ linux-2.6.x/arch/m68knommu/platform/5206/Makefile	2008-02-12 14:05:13.000000000 +1000
@@ -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
 
diff -Naurp linux-2.6.25-rc1/arch/m68knommu/platform/5206e/Makefile linux-2.6.x/arch/m68knommu/platform/5206e/Makefile
--- linux-2.6.25-rc1/arch/m68knommu/platform/5206e/Makefile	2008-01-25 08:58:37.000000000 +1000
+++ linux-2.6.x/arch/m68knommu/platform/5206e/Makefile	2008-02-12 14:05:14.000000000 +1000
@@ -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
 
diff -Naurp linux-2.6.25-rc1/arch/m68knommu/platform/520x/Makefile linux-2.6.x/arch/m68knommu/platform/520x/Makefile
--- linux-2.6.25-rc1/arch/m68knommu/platform/520x/Makefile	2008-01-25 08:58:37.000000000 +1000
+++ linux-2.6.x/arch/m68knommu/platform/520x/Makefile	2008-02-12 14:05:14.000000000 +1000
@@ -12,8 +12,6 @@
 # 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
diff -Naurp linux-2.6.25-rc1/arch/m68knommu/platform/523x/Makefile linux-2.6.x/arch/m68knommu/platform/523x/Makefile
--- linux-2.6.25-rc1/arch/m68knommu/platform/523x/Makefile	2008-01-25 08:58:37.000000000 +1000
+++ linux-2.6.x/arch/m68knommu/platform/523x/Makefile	2008-02-12 14:05:14.000000000 +1000
@@ -12,8 +12,6 @@
 # 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
diff -Naurp linux-2.6.25-rc1/arch/m68knommu/platform/5249/Makefile linux-2.6.x/arch/m68knommu/platform/5249/Makefile
--- linux-2.6.25-rc1/arch/m68knommu/platform/5249/Makefile	2008-01-25 08:58:37.000000000 +1000
+++ linux-2.6.x/arch/m68knommu/platform/5249/Makefile	2008-02-12 14:05:14.000000000 +1000
@@ -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
 
diff -Naurp linux-2.6.25-rc1/arch/m68knommu/platform/5272/Makefile linux-2.6.x/arch/m68knommu/platform/5272/Makefile
--- linux-2.6.25-rc1/arch/m68knommu/platform/5272/Makefile	2008-01-25 08:58:37.000000000 +1000
+++ linux-2.6.x/arch/m68knommu/platform/5272/Makefile	2008-02-12 14:05:14.000000000 +1000
@@ -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
 
diff -Naurp linux-2.6.25-rc1/arch/m68knommu/platform/527x/Makefile linux-2.6.x/arch/m68knommu/platform/527x/Makefile
--- linux-2.6.25-rc1/arch/m68knommu/platform/527x/Makefile	2008-01-25 08:58:37.000000000 +1000
+++ linux-2.6.x/arch/m68knommu/platform/527x/Makefile	2008-02-12 14:05:14.000000000 +1000
@@ -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
 
diff -Naurp linux-2.6.25-rc1/arch/m68knommu/platform/528x/Makefile linux-2.6.x/arch/m68knommu/platform/528x/Makefile
--- linux-2.6.25-rc1/arch/m68knommu/platform/528x/Makefile	2008-01-25 08:58:37.000000000 +1000
+++ linux-2.6.x/arch/m68knommu/platform/528x/Makefile	2008-02-12 14:05:14.000000000 +1000
@@ -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
 
diff -Naurp linux-2.6.25-rc1/arch/m68knommu/platform/5307/Makefile linux-2.6.x/arch/m68knommu/platform/5307/Makefile
--- linux-2.6.25-rc1/arch/m68knommu/platform/5307/Makefile	2008-02-11 14:50:21.000000000 +1000
+++ linux-2.6.x/arch/m68knommu/platform/5307/Makefile	2008-02-12 14:05:14.000000000 +1000
@@ -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
 
diff -Naurp linux-2.6.25-rc1/arch/m68knommu/platform/532x/Makefile linux-2.6.x/arch/m68knommu/platform/532x/Makefile
--- linux-2.6.25-rc1/arch/m68knommu/platform/532x/Makefile	2008-01-25 08:58:37.000000000 +1000
+++ linux-2.6.x/arch/m68knommu/platform/532x/Makefile	2008-02-12 14:05:14.000000000 +1000
@@ -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
diff -Naurp linux-2.6.25-rc1/arch/m68knommu/platform/5407/Makefile linux-2.6.x/arch/m68knommu/platform/5407/Makefile
--- linux-2.6.25-rc1/arch/m68knommu/platform/5407/Makefile	2008-01-25 08:58:37.000000000 +1000
+++ linux-2.6.x/arch/m68knommu/platform/5407/Makefile	2008-02-12 14:05:14.000000000 +1000
@@ -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
 
diff -Naurp linux-2.6.25-rc1/arch/m68knommu/platform/coldfire/Makefile linux-2.6.x/arch/m68knommu/platform/coldfire/Makefile
--- linux-2.6.25-rc1/arch/m68knommu/platform/coldfire/Makefile	2008-02-11 14:50:21.000000000 +1000
+++ linux-2.6.x/arch/m68knommu/platform/coldfire/Makefile	2008-02-12 14:05:13.000000000 +1000
@@ -12,9 +12,7 @@
 # EXTRA_AFLAGS += -DTRAP_DBG_INTERRUPT
 #
 
-ifdef CONFIG_FULLDEBUG
-AFLAGS += -DDEBUGGER_COMPATIBLE_CACHE=1
-endif
+asflags-$(CONFIG_FULLDEBUG) := -DDEBUGGER_COMPATIBLE_CACHE=1
 
 obj-$(CONFIG_COLDFIRE)	+= dma.o entry.o vectors.o
 obj-$(CONFIG_M5206)	+= timers.o

                 reply	other threads:[~2008-02-12  6:14 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200802120612.m1C6C1Jt009946@goober \
    --to=gerg@snapgear.com \
    --cc=gerg@uclinux.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®