public inbox for linux-m68k@lists.linux-m68k.org
 help / color / mirror / Atom feed
* Quest about m68knommu check in top of kernel Makefile.
@ 2012-04-26 12:34 Edward Shao
  2012-04-27  6:30 ` Greg Ungerer
  0 siblings, 1 reply; 3+ messages in thread
From: Edward Shao @ 2012-04-26 12:34 UTC (permalink / raw)
  To: linux-m68k

Hi folks,

I have a question about ($(ARCH),m68knommu) check in top of kernel Makefile.
Any reason not to change SRCARCH but change hdr-arch?

If I modify the makefile as below, is it ok?

diff --git a/Makefile b/Makefile
index afc868e..396ed28 100644
--- a/Makefile
+++ b/Makefile
@@ -228,13 +228,14 @@ ifeq ($(ARCH),tilegx)
        SRCARCH := tile
 endif

-# Where to locate arch specific headers
-hdr-arch  := $(SRCARCH)
-
+# Additional ARCH settings for m86k
 ifeq ($(ARCH),m68knommu)
-       hdr-arch  := m68k
+       SRCARCH := m68k
 endif

+# Where to locate arch specific headers
+hdr-arch  := $(SRCARCH)
+
 KCONFIG_CONFIG ?= .config
 export KCONFIG_CONFIG


Thank you very much.

Best Regards,
Edward

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

end of thread, other threads:[~2012-04-27  6:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-26 12:34 Quest about m68knommu check in top of kernel Makefile Edward Shao
2012-04-27  6:30 ` Greg Ungerer
2012-04-27  6:51   ` Edward Shao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox