Steve Dunham <[EMAIL PROTECTED]> writes: > Ok, here is a simple patch to the kernel-package rules file to add > UltraSparc support: > > --- /usr/lib/kernel-package/rules.bak Tue Mar 30 12:50:20 1999 > +++ /usr/lib/kernel-package/rules Tue Mar 30 12:55:24 1999 > @@ -194,6 +194,9 @@ > kimagesrc = vmlinux > kimagedest = $(INT_IMAGE_DESTDIR)/vmlinuz-$(version) > DEBCONFIG = $(CONFDIR)/config.sparc > +ifeq ($(SUBARCH),sun4u) > +KERNEL_ARCH=sparc64 > +endif > endif > > After applying the patch, you can do: > > fakeroot /usr/sbin/make-kpkg --subarch=sun4u --arch_in_name binary-arch > > to generate UltraSparc kernel packages. (This will work on any sparc, > but you need the "egcs64" package installed.)
Did all that, but now I get: rm -f kernel.o ld -m elf64_sparc -r -o kernel.o signal.o ksyms.o sched.o dma.o fork.o exec_domain.o panic.o printk.o sys.o module.o exit.o itimer.o info.o time.o softirq.o resource.o sysctl.o acct.o capability.o kmod.o ld: cannot open linker script file ldscripts/elf64_sparc.xr: No such file or directory make[3]: *** [kernel.o] Error 1 Clue for me? ii binutils 2.9.1.0.19a-4 The GNU assembler, linker and binary utiliti ii libc6 2.0.105-2 The GNU C library version 2 (run-time files) ii egcs64 19980921-2 C compiler for building 64 bit kernels on sp ii ldso 1.9.10-1 The Linux dynamic linker, library and utilit -- .....Adam Di [EMAIL PROTECTED]<URL:http://www.onShore.com/>

