* [Fwd: Re: make install on ppc]
@ 2006-03-21 14:08 Hans Fugal
2006-03-26 19:26 ` make install on ppc Hollis Blanchard
0 siblings, 1 reply; 12+ messages in thread
From: Hans Fugal @ 2006-03-21 14:08 UTC (permalink / raw)
To: linuxppc-dev
[-- Attachment #1: Type: text/plain, Size: 76 bytes --]
Is there something that stops us from having a make install target for ppc?
[-- Attachment #2: Re: make install on ppc --]
[-- Type: message/rfc822, Size: 1900 bytes --]
From: Sam Ravnborg <sam@ravnborg.org>
To: Hans Fugal <hans@fugal.net>
Cc: kai@germaschewski.name
Subject: Re: make install on ppc
Date: Tue, 21 Mar 2006 07:29:43 +0100
Message-ID: <20060321062943.GA3677@mars.ravnborg.org>
On Sat, Mar 18, 2006 at 05:19:19PM -0700, Hans Fugal wrote:
> I apologize if you are not the right people to send this to. On i386
> there is a make install target, but on ppc there is not. The
> distribution is Debian in both cases, and the sources are plain vanilla.
>
> Is this an oversight?
This is up to the arch maintainers to add as required.
Please ask the at relevant ppc mailing list.
Sam
^ permalink raw reply [flat|nested] 12+ messages in thread* Re: make install on ppc 2006-03-21 14:08 [Fwd: Re: make install on ppc] Hans Fugal @ 2006-03-26 19:26 ` Hollis Blanchard 2006-03-26 20:43 ` Arnd Bergmann 2006-03-26 21:44 ` Hans Fugal 0 siblings, 2 replies; 12+ messages in thread From: Hollis Blanchard @ 2006-03-26 19:26 UTC (permalink / raw) To: Hans Fugal; +Cc: linuxppc-dev list On Mar 21, 2006, at 8:08 AM, Hans Fugal wrote: > Is there something that stops us from having a make install target for > ppc? Why do you want it, and what would it do? Clearly not many people have needed it so far... -Hollis ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: make install on ppc 2006-03-26 19:26 ` make install on ppc Hollis Blanchard @ 2006-03-26 20:43 ` Arnd Bergmann 2006-03-26 21:44 ` Hans Fugal 1 sibling, 0 replies; 12+ messages in thread From: Arnd Bergmann @ 2006-03-26 20:43 UTC (permalink / raw) To: linuxppc-dev; +Cc: Hans Fugal Am Sunday 26 March 2006 21:26 schrieb Hollis Blanchard: > On Mar 21, 2006, at 8:08 AM, Hans Fugal wrote: > > Is there something that stops us from having a make install target for > > ppc? > > Why do you want it, and what would it do? Clearly not many people have > needed it so far... I've missed it a few times, typing 'make install' by habit, but thought it was a bug in my own setup, so I didn't bother looking what was missing. Arnd <>< ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: make install on ppc 2006-03-26 19:26 ` make install on ppc Hollis Blanchard 2006-03-26 20:43 ` Arnd Bergmann @ 2006-03-26 21:44 ` Hans Fugal 2006-03-27 1:42 ` Jin Qi Huang 1 sibling, 1 reply; 12+ messages in thread From: Hans Fugal @ 2006-03-26 21:44 UTC (permalink / raw) To: Hollis Blanchard; +Cc: linuxppc-dev list Hollis Blanchard wrote: > On Mar 21, 2006, at 8:08 AM, Hans Fugal wrote: > >> Is there something that stops us from having a make install target for >> ppc? > > Why do you want it, and what would it do? Clearly not many people have > needed it so far... I bet a lot of people have typed it, wished it was there, then worked around it. That's what I've been doing for a year now. It doesn't do much - basically it has the proper dependencies and runs installkernel with the appropriate arguments (as indicated by `make help`). Thanks ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: make install on ppc 2006-03-26 21:44 ` Hans Fugal @ 2006-03-27 1:42 ` Jin Qi Huang 2006-03-27 1:56 ` Brent Cook 0 siblings, 1 reply; 12+ messages in thread From: Jin Qi Huang @ 2006-03-27 1:42 UTC (permalink / raw) To: Hans Fugal; +Cc: linuxppc-dev list, linuxppc-dev-bounces+huangjq=cn.ibm.com [-- Attachment #1: Type: text/plain, Size: 1357 bytes --] I also think the 'make install' is very useful, now on ia32, the 'make install' provided by the latest kernel linux-2.6.16 not only create initrd, copy vmlinuz and System.map to /boot directory, but also update grub, ppc32 does not provide this useful feature, maybe it is a pity! -- Regards, MCP Test, Linux Technology Center, China Systems & Technology Lab China Development Labs, Beijing Email: huangjq@cn.ibm.com Hans Fugal <hans@fugal.net> Sent by: linuxppc-dev-bounces+huangjq=cn.ibm.com@ozlabs.org 2006-03-27 05:44 To Hollis Blanchard <hollis@penguinppc.org> cc linuxppc-dev list <linuxppc-dev@ozlabs.org> Subject Re: make install on ppc Hollis Blanchard wrote: > On Mar 21, 2006, at 8:08 AM, Hans Fugal wrote: > >> Is there something that stops us from having a make install target for >> ppc? > > Why do you want it, and what would it do? Clearly not many people have > needed it so far... I bet a lot of people have typed it, wished it was there, then worked around it. That's what I've been doing for a year now. It doesn't do much - basically it has the proper dependencies and runs installkernel with the appropriate arguments (as indicated by `make help`). Thanks _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev [-- Attachment #2: Type: text/html, Size: 2305 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: make install on ppc 2006-03-27 1:42 ` Jin Qi Huang @ 2006-03-27 1:56 ` Brent Cook 2006-03-28 3:43 ` Hollis Blanchard 0 siblings, 1 reply; 12+ messages in thread From: Brent Cook @ 2006-03-27 1:56 UTC (permalink / raw) To: linuxppc-dev On Sunday 26 March 2006 19:42, Jin Qi Huang wrote: > I also think the 'make install' is very useful, now on ia32, the 'make > install' provided by the latest kernel linux-2.6.16 not only create > initrd, copy vmlinuz and System.map to /boot directory, but also update > grub, ppc32 does not provide this useful feature, maybe it is a pity! > Maybe narrow it to define 'make install' for new world/old world Macintoshes, or IBM machines? I can't see a generic make install being useful for the wider range of platforms that fall under ppc. 'make install' appears to me to be very platform dependent. Sure, on x86, you can reasonably assume that the majority of systems have the kernel on a disk under /boot and the bootloader is grub or lilo. I have 5 ppc machines currently, and no two use the same bootloader or kernel image. I've seen u-boot, yaboot, quik, powerboot (Motorola/Force), xmon (XES) and more, and they all required different post-processing to the kernel image to boot. For most of these, there is no way to programmatically guess where a particular kernel image should go to work with the boot loader. - Brent ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: make install on ppc 2006-03-27 1:56 ` Brent Cook @ 2006-03-28 3:43 ` Hollis Blanchard 2006-03-28 3:59 ` Jin Qi Huang 2006-03-28 19:06 ` Geoff Levand 0 siblings, 2 replies; 12+ messages in thread From: Hollis Blanchard @ 2006-03-28 3:43 UTC (permalink / raw) To: linuxppc-dev list On Mar 26, 2006, at 7:56 PM, Brent Cook wrote: > On Sunday 26 March 2006 19:42, Jin Qi Huang wrote: >> I also think the 'make install' is very useful, now on ia32, the 'make >> install' provided by the latest kernel linux-2.6.16 not only create >> initrd, copy vmlinuz and System.map to /boot directory, but also >> update >> grub, ppc32 does not provide this useful feature, maybe it is a pity! The feature sounds like a good idea to me, even if it's just the copying files part. Do any PPC distros provide a working installkernel script? > Maybe narrow it to define 'make install' for new world/old world > Macintoshes, > or IBM machines? I can't see a generic make install being useful for > the > wider range of platforms that fall under ppc. > > 'make install' appears to me to be very platform dependent. Sure, on > x86, you > can reasonably assume that the majority of systems have the kernel on > a disk > under /boot and the bootloader is grub or lilo. I have 5 ppc machines > currently, and no two use the same bootloader or kernel image. I've > seen > u-boot, yaboot, quik, powerboot (Motorola/Force), xmon (XES) and more, > and > they all required different post-processing to the kernel image to > boot. For > most of these, there is no way to programmatically guess where a > particular > kernel image should go to work with the boot loader. If you have an unusual platform, don't run make install and you have lost nothing... :) -Hollis ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: make install on ppc 2006-03-28 3:43 ` Hollis Blanchard @ 2006-03-28 3:59 ` Jin Qi Huang 2006-03-28 19:06 ` Geoff Levand 1 sibling, 0 replies; 12+ messages in thread From: Jin Qi Huang @ 2006-03-28 3:59 UTC (permalink / raw) To: Hollis Blanchard Cc: linuxppc-dev list, linuxppc-dev-bounces+huangjq=cn.ibm.com [-- Attachment #1: Type: text/plain, Size: 2214 bytes --] Now on ia32, there are also a lot of bootloaders, currently 'make install' can update lilo and grub, on ppc desktop and enterprise computing, we mainly use yaboot as the bootloader, I think ppc 'make install' can at least support yaboot. -- Regards, MCP Test, Linux Technology Center, China Systems & Technology Lab China Development Labs, Beijing Email: huangjq@cn.ibm.com Hollis Blanchard <hollis@penguinppc.org> Sent by: linuxppc-dev-bounces+huangjq=cn.ibm.com@ozlabs.org 2006-03-28 11:43 To linuxppc-dev list <linuxppc-dev@ozlabs.org> cc Subject Re: make install on ppc On Mar 26, 2006, at 7:56 PM, Brent Cook wrote: > On Sunday 26 March 2006 19:42, Jin Qi Huang wrote: >> I also think the 'make install' is very useful, now on ia32, the 'make >> install' provided by the latest kernel linux-2.6.16 not only create >> initrd, copy vmlinuz and System.map to /boot directory, but also >> update >> grub, ppc32 does not provide this useful feature, maybe it is a pity! The feature sounds like a good idea to me, even if it's just the copying files part. Do any PPC distros provide a working installkernel script? > Maybe narrow it to define 'make install' for new world/old world > Macintoshes, > or IBM machines? I can't see a generic make install being useful for > the > wider range of platforms that fall under ppc. > > 'make install' appears to me to be very platform dependent. Sure, on > x86, you > can reasonably assume that the majority of systems have the kernel on > a disk > under /boot and the bootloader is grub or lilo. I have 5 ppc machines > currently, and no two use the same bootloader or kernel image. I've > seen > u-boot, yaboot, quik, powerboot (Motorola/Force), xmon (XES) and more, > and > they all required different post-processing to the kernel image to > boot. For > most of these, there is no way to programmatically guess where a > particular > kernel image should go to work with the boot loader. If you have an unusual platform, don't run make install and you have lost nothing... :) -Hollis _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev [-- Attachment #2: Type: text/html, Size: 3277 bytes --] ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: make install on ppc 2006-03-28 3:43 ` Hollis Blanchard 2006-03-28 3:59 ` Jin Qi Huang @ 2006-03-28 19:06 ` Geoff Levand 2006-03-28 20:02 ` Hollis Blanchard 1 sibling, 1 reply; 12+ messages in thread From: Geoff Levand @ 2006-03-28 19:06 UTC (permalink / raw) To: Hollis Blanchard; +Cc: linuxppc-dev list Hollis Blanchard wrote: > On Mar 26, 2006, at 7:56 PM, Brent Cook wrote: > >> On Sunday 26 March 2006 19:42, Jin Qi Huang wrote: >>> I also think the 'make install' is very useful, now on ia32, the > 'make >>> install' provided by the latest kernel linux-2.6.16 not only create >>> initrd, copy vmlinuz and System.map to /boot directory, but also >>> update >>> grub, ppc32 does not provide this useful feature, maybe it is a pity! > > The feature sounds like a good idea to me, even if it's just the > copying files part. Do any PPC distros provide a working installkernel > script? Problem is for multi-platform binary builds, 'install' could mean different things for the different platforms, so to support install, there needs to be some way to tell the build system what 'install' means that also works with the muti-platform makefile logic. The current powerpc makefiles don't have this, and it would take some non-trivial rework to add it. There is also the question of what install means when cross building. I run make from a script that I tell the platform. The script does what's needed for that platform to get it built and installed. -Geoff ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: make install on ppc 2006-03-28 19:06 ` Geoff Levand @ 2006-03-28 20:02 ` Hollis Blanchard 2006-03-28 20:30 ` Geoff Levand 2006-03-28 21:13 ` Paul Mackerras 0 siblings, 2 replies; 12+ messages in thread From: Hollis Blanchard @ 2006-03-28 20:02 UTC (permalink / raw) To: Geoff Levand; +Cc: linuxppc-dev list On Tuesday 28 March 2006 13:06, you wrote: > Problem is for multi-platform binary builds, 'install' could mean differe= nt > things for the different platforms, so to support install, there needs > to be some way to tell the build system what 'install' means that also > works with the muti-platform makefile logic. =C2=A0The current powerpc ma= kefiles > don't have this, and it would take some non-trivial rework to add it. That is for the distribution- or user-supplied installkernel script to deal= =20 with. > There is also the question of what install means when cross building. So don't run make install when cross-compiling (unless of course your=20 installkernel script supports that). I don't understand these objections. If someone's platform is so super-spec= ial=20 that a script couldn't possibly know how to install a kernel, just don't ru= n=20 make install! =2DHollis ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: make install on ppc 2006-03-28 20:02 ` Hollis Blanchard @ 2006-03-28 20:30 ` Geoff Levand 2006-03-28 21:13 ` Paul Mackerras 1 sibling, 0 replies; 12+ messages in thread From: Geoff Levand @ 2006-03-28 20:30 UTC (permalink / raw) To: Hollis Blanchard; +Cc: linuxppc-dev list Hollis Blanchard wrote: > On Tuesday 28 March 2006 13:06, you wrote: >> Problem is for multi-platform binary builds, 'install' could mean different >> things for the different platforms, so to support install, there needs >> to be some way to tell the build system what 'install' means that also >> works with the muti-platform makefile logic. The current powerpc makefiles >> don't have this, and it would take some non-trivial rework to add it. > > That is for the distribution- or user-supplied installkernel script to deal > with. To handle the situation I mentioned, the build system would need to either tell the installkernel script what to do, or call different installkernel scripts, so the build system itself needs to have some notion of what install means, but as I mentioned, that is currently missing from the makefiles. >> There is also the question of what install means when cross building. > > So don't run make install when cross-compiling (unless of course your > installkernel script supports that). But I would like to... > I don't understand these objections. If someone's platform is so super-special > that a script couldn't possibly know how to install a kernel, just don't run > make install! I guess you misunderstood me. I'm not objecting nor saying it shouldn't be done, just stating some of what needs to be done to make it work properly. The logic needed is not trivial, and more work is needed than just adding an 'install' target line to a makefile. -Geoff ^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: make install on ppc 2006-03-28 20:02 ` Hollis Blanchard 2006-03-28 20:30 ` Geoff Levand @ 2006-03-28 21:13 ` Paul Mackerras 1 sibling, 0 replies; 12+ messages in thread From: Paul Mackerras @ 2006-03-28 21:13 UTC (permalink / raw) To: Hollis Blanchard; +Cc: linuxppc-dev list Hollis Blanchard writes: > I don't understand these objections. If someone's platform is so super-special > that a script couldn't possibly know how to install a kernel, just don't run > make install! I don't see any problem either. If someone had bothered to produce a patch, it would have been applied by now. :) Paul. ^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2006-03-28 21:13 UTC | newest] Thread overview: 12+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2006-03-21 14:08 [Fwd: Re: make install on ppc] Hans Fugal 2006-03-26 19:26 ` make install on ppc Hollis Blanchard 2006-03-26 20:43 ` Arnd Bergmann 2006-03-26 21:44 ` Hans Fugal 2006-03-27 1:42 ` Jin Qi Huang 2006-03-27 1:56 ` Brent Cook 2006-03-28 3:43 ` Hollis Blanchard 2006-03-28 3:59 ` Jin Qi Huang 2006-03-28 19:06 ` Geoff Levand 2006-03-28 20:02 ` Hollis Blanchard 2006-03-28 20:30 ` Geoff Levand 2006-03-28 21:13 ` Paul Mackerras
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).