* [U-Boot] [PATCH] Fixup native builds on powerpc
@ 2010-04-27 3:57 Kumar Gala
2010-04-27 16:19 ` Scott Wood
0 siblings, 1 reply; 4+ messages in thread
From: Kumar Gala @ 2010-04-27 3:57 UTC (permalink / raw)
To: u-boot
When we changed ARCH from ppc to powerpc we need to treat HOSTARCH the
same way. We use HOSTARCH == ARCH to determine if a build is native.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
Makefile | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/Makefile b/Makefile
index 34f10ce..f3e9dde 100644
--- a/Makefile
+++ b/Makefile
@@ -38,9 +38,8 @@ HOSTARCH := $(shell uname -m | \
-e s/sun4u/sparc64/ \
-e s/arm.*/arm/ \
-e s/sa110/arm/ \
- -e s/powerpc/ppc/ \
- -e s/ppc64/ppc/ \
- -e s/macppc/ppc/)
+ -e s/ppc64/powerpc/ \
+ -e s/macppc/powerpc/)
HOSTOS := $(shell uname -s | tr '[:upper:]' '[:lower:]' | \
sed -e 's/\(cygwin\).*/cygwin/')
--
1.6.0.6
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] Fixup native builds on powerpc
2010-04-27 3:57 [U-Boot] [PATCH] Fixup native builds on powerpc Kumar Gala
@ 2010-04-27 16:19 ` Scott Wood
2010-04-27 16:27 ` Kumar Gala
0 siblings, 1 reply; 4+ messages in thread
From: Scott Wood @ 2010-04-27 16:19 UTC (permalink / raw)
To: u-boot
On Mon, Apr 26, 2010 at 10:57:51PM -0500, Kumar Gala wrote:
> When we changed ARCH from ppc to powerpc we need to treat HOSTARCH the
> same way. We use HOSTARCH == ARCH to determine if a build is native.
>
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
> ---
> Makefile | 5 ++---
> 1 files changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index 34f10ce..f3e9dde 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -38,9 +38,8 @@ HOSTARCH := $(shell uname -m | \
> -e s/sun4u/sparc64/ \
> -e s/arm.*/arm/ \
> -e s/sa110/arm/ \
> - -e s/powerpc/ppc/ \
> - -e s/ppc64/ppc/ \
> - -e s/macppc/ppc/)
> + -e s/ppc64/powerpc/ \
> + -e s/macppc/powerpc/)
We need s/ppc/powerpc/ as well (even on an ARCH=powerpc kernel, it seems).
-Scott
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] Fixup native builds on powerpc
2010-04-27 16:19 ` Scott Wood
@ 2010-04-27 16:27 ` Kumar Gala
2010-04-27 16:37 ` Scott Wood
0 siblings, 1 reply; 4+ messages in thread
From: Kumar Gala @ 2010-04-27 16:27 UTC (permalink / raw)
To: u-boot
On Apr 27, 2010, at 11:19 AM, Scott Wood wrote:
> On Mon, Apr 26, 2010 at 10:57:51PM -0500, Kumar Gala wrote:
>> When we changed ARCH from ppc to powerpc we need to treat HOSTARCH the
>> same way. We use HOSTARCH == ARCH to determine if a build is native.
>>
>> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
>> ---
>> Makefile | 5 ++---
>> 1 files changed, 2 insertions(+), 3 deletions(-)
>>
>> diff --git a/Makefile b/Makefile
>> index 34f10ce..f3e9dde 100644
>> --- a/Makefile
>> +++ b/Makefile
>> @@ -38,9 +38,8 @@ HOSTARCH := $(shell uname -m | \
>> -e s/sun4u/sparc64/ \
>> -e s/arm.*/arm/ \
>> -e s/sa110/arm/ \
>> - -e s/powerpc/ppc/ \
>> - -e s/ppc64/ppc/ \
>> - -e s/macppc/ppc/)
>> + -e s/ppc64/powerpc/ \
>> + -e s/macppc/powerpc/)
>
> We need s/ppc/powerpc/ as well (even on an ARCH=powerpc kernel, it seems).
Under what environment? Got no issue to add it just wondering if it shows up somewhere.
- k
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] [PATCH] Fixup native builds on powerpc
2010-04-27 16:27 ` Kumar Gala
@ 2010-04-27 16:37 ` Scott Wood
0 siblings, 0 replies; 4+ messages in thread
From: Scott Wood @ 2010-04-27 16:37 UTC (permalink / raw)
To: u-boot
Kumar Gala wrote:
> On Apr 27, 2010, at 11:19 AM, Scott Wood wrote:
>
>> On Mon, Apr 26, 2010 at 10:57:51PM -0500, Kumar Gala wrote:
>>> When we changed ARCH from ppc to powerpc we need to treat HOSTARCH the
>>> same way. We use HOSTARCH == ARCH to determine if a build is native.
>>>
>>> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
>>> ---
>>> Makefile | 5 ++---
>>> 1 files changed, 2 insertions(+), 3 deletions(-)
>>>
>>> diff --git a/Makefile b/Makefile
>>> index 34f10ce..f3e9dde 100644
>>> --- a/Makefile
>>> +++ b/Makefile
>>> @@ -38,9 +38,8 @@ HOSTARCH := $(shell uname -m | \
>>> -e s/sun4u/sparc64/ \
>>> -e s/arm.*/arm/ \
>>> -e s/sa110/arm/ \
>>> - -e s/powerpc/ppc/ \
>>> - -e s/ppc64/ppc/ \
>>> - -e s/macppc/ppc/)
>>> + -e s/ppc64/powerpc/ \
>>> + -e s/macppc/powerpc/)
>> We need s/ppc/powerpc/ as well (even on an ARCH=powerpc kernel, it seems).
>
> Under what environment? Got no issue to add it just wondering if it shows up somewhere.
Current Linux. UTS_MACHINE is set to $(OLDARCH) in
arch/powerpc/Makefile, which is ppc or ppc64. I booted a p4080 kernel
and did uname -m to verify.
-Scott
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-04-27 16:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-27 3:57 [U-Boot] [PATCH] Fixup native builds on powerpc Kumar Gala
2010-04-27 16:19 ` Scott Wood
2010-04-27 16:27 ` Kumar Gala
2010-04-27 16:37 ` Scott Wood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox