Skip to contentSkip to conversation

blackfin: Move `-D__BLACKFIN__' to $(ARCH)_config.mk

PATCH New Shinya Kuribayashi 3 participants 3 messages Oct 30, 2007 – Nov 3, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 blackfin: Move `-D__BLACKFIN__' to $(ARCH)_config.mk

---

 blackfin_config.mk |    2 +-
 config.mk          |    4 ----
 2 files changed, 1 insertions(+), 5 deletions(-)
blackfin_config.mk +1 -1
index df324b7..f71a313 100644
@@ -21,4 +21,4 @@
 # MA 02111-1307 USA
 #
 
-PLATFORM_CPPFLAGS += -DCONFIG_BLACKFIN
+PLATFORM_CPPFLAGS += -DCONFIG_BLACKFIN -D__BLACKFIN__
config.mk +0 -4
index 35e2963..f1edb40 100644
@@ -60,10 +60,6 @@ PLATFORM_CPPFLAGS+= -D__PPC__
 endif
 endif
 
-ifeq ($(ARCH),blackfin)
-PLATFORM_CPPFLAGS+= -D__BLACKFIN__
-endif
-
 ifdef	ARCH
 sinclude $(TOPDIR)/$(ARCH)_config.mk	# include architecture dependend rules
 endif
#1 lore raw

PATCH 1/1 blackfin: Move `-D__BLACKFIN__' to $(ARCH)_config.mk

Quoted 1 line · Shinya Kuribayashi

i simply deleted this and changed all occurrences to use CONFIG_BLACKFIN ... having two defines that do the same thing is silly
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20071030/4ae863fa/attachment.pgp

#2 lore raw

PATCH 1/1 blackfin: Move `-D__BLACKFIN__' to $(ARCH)_config.mk

In reply to Shinya Kuribayashi
Quoted 6 lines · In message <[email protected]> you wrote:

---

 blackfin_config.mk |    2 +-
 config.mk          |    4 ----
 2 files changed, 1 insertions(+), 5 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"There was no difference between  the  behavior  of  a  god  and  the
operations of pure chance..."   - Thomas Pynchon, _Gravity's Rainbow_