Linux PARISC architecture development
 help / color / mirror / Atom feed
* [PATCH] parisc: define SRCARCH=parisc for parisc64 builds
@ 2009-02-01 23:24 Helge Deller
  2009-03-13  4:55 ` Kyle McMartin
  0 siblings, 1 reply; 10+ messages in thread
From: Helge Deller @ 2009-02-01 23:24 UTC (permalink / raw)
  To: Kyle McMartin, linux-parisc

The parisc64 target (HP PARISC, 64bit kernel) is similar to the sparc64 or 
m68knommu targets, as it shares all sources for 32- and 64-bit in one single
source path which is arch/parisc/.
This patch now allows one to use ARCH=parisc64 and just directly build the
64bit kernel without creating symlinks in arch/ and include/asm-* manually
the same way as it's done for sparc64 and m68knommu.

Signed-off-by: Helge Deller <deller@gmx.de>

diff --git a/Makefile b/Makefile
index cf9e20d..3582985 100644
--- a/Makefile
+++ b/Makefile
@@ -210,6 +210,11 @@ ifeq ($(ARCH),sparc64)
        SRCARCH := sparc
 endif
 
+# Additional ARCH settings for parisc
+ifeq ($(ARCH),parisc64)
+       SRCARCH := parisc
+endif
+
 # Where to locate arch specific headers
 hdr-arch  := $(SRCARCH)
 

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

* Re: [PATCH] parisc: define SRCARCH=parisc for parisc64 builds
  2009-02-01 23:24 [PATCH] parisc: define SRCARCH=parisc for parisc64 builds Helge Deller
@ 2009-03-13  4:55 ` Kyle McMartin
  2009-03-14 20:47   ` Helge Deller
  0 siblings, 1 reply; 10+ messages in thread
From: Kyle McMartin @ 2009-03-13  4:55 UTC (permalink / raw)
  To: Helge Deller; +Cc: Kyle McMartin, linux-parisc

On Mon, Feb 02, 2009 at 12:24:01AM +0100, Helge Deller wrote:
> The parisc64 target (HP PARISC, 64bit kernel) is similar to the sparc64 or 
> m68knommu targets, as it shares all sources for 32- and 64-bit in one single
> source path which is arch/parisc/.
> This patch now allows one to use ARCH=parisc64 and just directly build the
> 64bit kernel without creating symlinks in arch/ and include/asm-* manually
> the same way as it's done for sparc64 and m68knommu.
> 

I'm going to drop this patch, powerpc and mips don't do it, and
'parisc64' hasn't been valid as $ARCH since v2.3 or something equally
ancient, so I can't see any point in it.

regards, Kyle

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

* Re: [PATCH] parisc: define SRCARCH=parisc for parisc64 builds
  2009-03-13  4:55 ` Kyle McMartin
@ 2009-03-14 20:47   ` Helge Deller
  2009-03-14 20:49     ` Kyle McMartin
  0 siblings, 1 reply; 10+ messages in thread
From: Helge Deller @ 2009-03-14 20:47 UTC (permalink / raw)
  To: Kyle McMartin; +Cc: Kyle McMartin, linux-parisc

Kyle McMartin wrote:
> On Mon, Feb 02, 2009 at 12:24:01AM +0100, Helge Deller wrote:
>> The parisc64 target (HP PARISC, 64bit kernel) is similar to the spar=
c64 or=20
>> m68knommu targets, as it shares all sources for 32- and 64-bit in on=
e single
>> source path which is arch/parisc/.
>> This patch now allows one to use ARCH=3Dparisc64 and just directly b=
uild the
>> 64bit kernel without creating symlinks in arch/ and include/asm-* ma=
nually
>> the same way as it's done for sparc64 and m68knommu.
>>
>=20
> I'm going to drop this patch, powerpc and mips don't do it,=20

they maybe don't need it ?

> and 'parisc64' hasn't been valid as $ARCH since v2.3 or something equ=
ally
> ancient, so I can't see any point in it.

=C4h ?
And how do you build a 64bit parisc kernel then ?

Helge
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc"=
 in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH] parisc: define SRCARCH=parisc for parisc64 builds
  2009-03-14 20:47   ` Helge Deller
@ 2009-03-14 20:49     ` Kyle McMartin
  2009-03-14 20:56       ` Helge Deller
  0 siblings, 1 reply; 10+ messages in thread
From: Kyle McMartin @ 2009-03-14 20:49 UTC (permalink / raw)
  To: Helge Deller; +Cc: Kyle McMartin, linux-parisc

On Sat, Mar 14, 2009 at 09:47:06PM +0100, Helge Deller wrote:
> > and 'parisc64' hasn't been valid as $ARCH since v2.3 or something e=
qually
> > ancient, so I can't see any point in it.
>=20
> =C4h ?
> And how do you build a 64bit parisc kernel then ?
>=20

CONFIG_64BIT.
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc"=
 in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH] parisc: define SRCARCH=parisc for parisc64 builds
  2009-03-14 20:49     ` Kyle McMartin
@ 2009-03-14 20:56       ` Helge Deller
  2009-03-14 21:06         ` Kyle McMartin
  0 siblings, 1 reply; 10+ messages in thread
From: Helge Deller @ 2009-03-14 20:56 UTC (permalink / raw)
  To: Kyle McMartin; +Cc: Kyle McMartin, linux-parisc

Kyle McMartin wrote:
> On Sat, Mar 14, 2009 at 09:47:06PM +0100, Helge Deller wrote:
>>> and 'parisc64' hasn't been valid as $ARCH since v2.3 or something e=
qually
>>> ancient, so I can't see any point in it.
>> =C4h ?
>> And how do you build a 64bit parisc kernel then ?
>>
>=20
> CONFIG_64BIT

No, this does not work with a cleanly checked-out tree.
Just remove the arch/parisc64 link which you created manually.

Helge
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc"=
 in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH] parisc: define SRCARCH=parisc for parisc64 builds
  2009-03-14 20:56       ` Helge Deller
@ 2009-03-14 21:06         ` Kyle McMartin
  2009-03-14 21:25           ` Helge Deller
  0 siblings, 1 reply; 10+ messages in thread
From: Kyle McMartin @ 2009-03-14 21:06 UTC (permalink / raw)
  To: Helge Deller; +Cc: Kyle McMartin, linux-parisc

On Sat, Mar 14, 2009 at 09:56:16PM +0100, Helge Deller wrote:
> Kyle McMartin wrote:
> > On Sat, Mar 14, 2009 at 09:47:06PM +0100, Helge Deller wrote:
> >>> and 'parisc64' hasn't been valid as $ARCH since v2.3 or something=
 equally
> >>> ancient, so I can't see any point in it.
> >> =C4h ?
> >> And how do you build a 64bit parisc kernel then ?
> >>
> >=20
> > CONFIG_64BIT
>=20
> No, this does not work with a cleanly checked-out tree.
> Just remove the arch/parisc64 link which you created manually.
>=20

It's simple, set CONFIG_64BIT, and just call it 'parisc' like
everyone else has done for years now.

regards, Kyle
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc"=
 in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH] parisc: define SRCARCH=parisc for parisc64 builds
  2009-03-14 21:06         ` Kyle McMartin
@ 2009-03-14 21:25           ` Helge Deller
  2009-03-14 21:27             ` Kyle McMartin
  2009-03-14 21:27             ` Kyle McMartin
  0 siblings, 2 replies; 10+ messages in thread
From: Helge Deller @ 2009-03-14 21:25 UTC (permalink / raw)
  To: Kyle McMartin; +Cc: linux-parisc

Kyle McMartin wrote:
> On Sat, Mar 14, 2009 at 09:56:16PM +0100, Helge Deller wrote:
>> Kyle McMartin wrote:
>>> On Sat, Mar 14, 2009 at 09:47:06PM +0100, Helge Deller wrote:
>>>>> and 'parisc64' hasn't been valid as $ARCH since v2.3 or something=
 equally
>>>>> ancient, so I can't see any point in it.
>>>> =C4h ?
>>>> And how do you build a 64bit parisc kernel then ?
>>>>
>>> CONFIG_64BIT
>> No, this does not work with a cleanly checked-out tree.
>> Just remove the arch/parisc64 link which you created manually.
>>
>=20
> It's simple, set CONFIG_64BIT, and just call it 'parisc' like
> everyone else has done for years now.

Everyone besides me it seems :-)

Shame on me ... seems you are right.
sorry.

Helge
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc"=
 in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

* Re: [PATCH] parisc: define SRCARCH=parisc for parisc64 builds
  2009-03-14 21:25           ` Helge Deller
@ 2009-03-14 21:27             ` Kyle McMartin
  2009-03-14 21:27             ` Kyle McMartin
  1 sibling, 0 replies; 10+ messages in thread
From: Kyle McMartin @ 2009-03-14 21:27 UTC (permalink / raw)
  To: Helge Deller; +Cc: Kyle McMartin, linux-parisc

On Sat, Mar 14, 2009 at 10:25:36PM +0100, Helge Deller wrote:
> 
> Everyone besides me it seems :-)
> 
> Shame on me ... seems you are right.
> sorry.
> 

heh, dude, not your fault. I guess you've just been at this
a lot longer than I have. :)

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

* Re: [PATCH] parisc: define SRCARCH=parisc for parisc64 builds
  2009-03-14 21:25           ` Helge Deller
  2009-03-14 21:27             ` Kyle McMartin
@ 2009-03-14 21:27             ` Kyle McMartin
  2009-03-15 10:08               ` Helge Deller
  1 sibling, 1 reply; 10+ messages in thread
From: Kyle McMartin @ 2009-03-14 21:27 UTC (permalink / raw)
  To: Helge Deller; +Cc: Kyle McMartin, linux-parisc

On Sat, Mar 14, 2009 at 10:25:36PM +0100, Helge Deller wrote:
> 
> Everyone besides me it seems :-)
> 
> Shame on me ... seems you are right.
> sorry.
> 

on second thought, if it makes your life measurably easier, i rescind
my nak and will merge the patch.

let me know,
	kyle

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

* Re: [PATCH] parisc: define SRCARCH=parisc for parisc64 builds
  2009-03-14 21:27             ` Kyle McMartin
@ 2009-03-15 10:08               ` Helge Deller
  0 siblings, 0 replies; 10+ messages in thread
From: Helge Deller @ 2009-03-15 10:08 UTC (permalink / raw)
  To: Kyle McMartin; +Cc: linux-parisc

Kyle McMartin wrote:
> On Sat, Mar 14, 2009 at 10:25:36PM +0100, Helge Deller wrote:
>> Everyone besides me it seems :-)
>>
>> Shame on me ... seems you are right.
>> sorry.
>>
> 
> on second thought, if it makes your life measurably easier, i rescind
> my nak and will merge the patch.
> 
> let me know,
> 	kyle

Thanks for the offer, Kyle.
But I think I can easily change my scripts, so it's not necessary.

Helge


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

end of thread, other threads:[~2009-03-15 10:08 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-01 23:24 [PATCH] parisc: define SRCARCH=parisc for parisc64 builds Helge Deller
2009-03-13  4:55 ` Kyle McMartin
2009-03-14 20:47   ` Helge Deller
2009-03-14 20:49     ` Kyle McMartin
2009-03-14 20:56       ` Helge Deller
2009-03-14 21:06         ` Kyle McMartin
2009-03-14 21:25           ` Helge Deller
2009-03-14 21:27             ` Kyle McMartin
2009-03-14 21:27             ` Kyle McMartin
2009-03-15 10:08               ` Helge Deller

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