All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] PLATFORM_CPPFLAGS ?
@ 2009-08-06 18:12 Timur Tabi
  2009-08-06 19:40 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Timur Tabi @ 2009-08-06 18:12 UTC (permalink / raw)
  To: u-boot

Why do we define the same macros in config.mk and in the board header file?

config.mk:
PLATFORM_CPPFLAGS += -DCONFIG_E500=1
PLATFORM_CPPFLAGS += -DCONFIG_MPC85xx=1
PLATFORM_CPPFLAGS += -DCONFIG_MPC8572=1

MPC8572DS.h:
#define CONFIG_BOOKE            1       /* BOOKE */
#define CONFIG_E500             1       /* BOOKE e500 family */
#define CONFIG_MPC85xx          1       /* MPC8540/60/55/41/48 */
#define CONFIG_MPC8572          1

Isn't it redundant to have these entries in config.mk?  We seem to be doing this more and more, but config.mk is always board-specific, just like MPC8572DS.h.

-- 
Timur Tabi
Linux kernel developer at Freescale

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-08-06 21:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-06 18:12 [U-Boot] PLATFORM_CPPFLAGS ? Timur Tabi
2009-08-06 19:40 ` Wolfgang Denk
2009-08-06 21:28   ` Kumar Gala
2009-08-06 21:46     ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.