* 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
* Re: Quest about m68knommu check in top of kernel Makefile.
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
0 siblings, 1 reply; 3+ messages in thread
From: Greg Ungerer @ 2012-04-27 6:30 UTC (permalink / raw)
To: Edward Shao; +Cc: linux-m68k
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@snapgear.com
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Quest about m68knommu check in top of kernel Makefile.
2012-04-27 6:30 ` Greg Ungerer
@ 2012-04-27 6:51 ` Edward Shao
0 siblings, 0 replies; 3+ messages in thread
From: Edward Shao @ 2012-04-27 6:51 UTC (permalink / raw)
To: Greg Ungerer; +Cc: linux-m68k
Hi Greg,
Thank you for your suggestion. :)
I remove the whole m68knommu conditional in submitted patch.
[REF]
http://permalink.gmane.org/gmane.linux.kbuild.devel/8138
Best Regards,
Edward
On Fri, Apr 27, 2012 at 2:30 PM, Greg Ungerer <gerg@snapgear.com> wrote:
> 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@snapgear.com
> 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
^ permalink raw reply [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