- Subject: Re: Quest about m68knommu check in top of kernel Makefile.
- From: Greg Ungerer <gerg@xxxxxxxxxxxx>
- Date: Fri, 27 Apr 2012 16:30:52 +1000
- Cc: <linux-m68k@xxxxxxxxxxxxxxx>
- In-reply-to: <CAKjXMyAvBMgPEsdiO=F1oLHt-_DBxdoz9+G=AOsejn5SLfDS_g@mail.gmail.com>
- References: <CAKjXMyAvBMgPEsdiO=F1oLHt-_DBxdoz9+G=AOsejn5SLfDS_g@mail.gmail.com>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120412 Thunderbird/11.0.1
Hi Edward,
On 26/04/12 22:34, Edward Shao wrote:
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
I think it better to just remove the whole m68knommu conditional,
since there is not longer a separate m68knommu arch branch.
Regards
Greg
------------------------------------------------------------------------
Greg Ungerer -- Principal Engineer EMAIL: gerg@xxxxxxxxxxxx
SnapGear Group, McAfee PHONE: +61 7 3435 2888
8 Gardner Close FAX: +61 7 3217 5323
Milton, QLD, 4064, Australia WEB: http://www.SnapGear.com
--
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
[Video for Linux]
[Photo]
[Yosemite News]
[Yosemite Photos]
[Video Projectors]
[Linux Kernel]
[Linux SCSI]
[XFree86]