Quest about m68knommu check in top of kernel Makefile.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux