[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH] make-kpkg for mipsel



On Thu, Nov 15, 2001 at 03:28:25PM +0100, Florian Lohoff wrote:
> On Thu, Nov 15, 2001 at 12:16:19PM +0100, Guido Guenther wrote:
> > I'd like to see this added to the kernel-package, to make "make-kpkg
> > kernel_image" work properly for mipsel.
> > 
> > --- kernel-package/kernel-package-7.73/kernel/rules	Tue Nov 13 09:03:34 2001
> > +++ /usr/share/kernel-package/rules	Wed Nov 14 17:31:26 2001
> > @@ -415,8 +415,9 @@
> >  target = $(kimage)
> >  NEED_DIRECT_GZIP_IMAGE=NO
> >  kimagesrc = $(strip arch/$(KERNEL_ARCH)/boot/vmlinux.ecoff)
> > -kimagedest = $(INT_IMAGE_DESTDIR)/vmlinuz-$(version)
> > +kimagedest = $(INT_IMAGE_DESTDIR)/vmlinux-$(version)
> >  DEBCONFIG= $(CONFDIR)/config.$(SUBARCH)
> > +KERNEL_ARCH = mips
> >  endif
> >  
> >  ######################################################################
> 
> This looks sane - Nevertheless - This does not provide any installing/
> rerunning of any bootloader does it ? 
Nope. I'll leave adding delo support to someone with a decstation - I
don't have any mipsel boxes around. For the Indys I'll add support for
arcboot as soon as it is mature enough.  Only purpose of the above is to
ease creation of kernel-images for mipsel.

> 
> How do other architectures like the PowerPC handle the MultiSubArch
> stuff with "make-kpkg" ? I mean - Do they parse /proc/cpuinfo on 
> installation and call the appropriate bootloader ? Or do they simply
> check which is installed ?
They guess the subarch(/proc/cpuinfo) and use a "default loader" for
that subarch, I think.
 -- Guido



Reply to: