Re: kernel-package sparc confusion
On Sun, 5 Oct 2003 11:37:18 -0400, Rob Radez <rob@osinvestor.com> said:
> Howdy, The not-so-recent changes in kernel-package to allow easier
> cross-compiling of sparc64 from a sparc32 appear to have changed the
> default KPKG_SUBARCH value from sparc32 to sparc64. I'm using the
> following hack to /usr/share/kernel-package/rules which appears to
> be working to not set KPKG_SUBARCH unless it's explicitly wanted.
> I'm not exactly sure what the correct fix is, though.
Umm, I would be uncomfortable with this fix. The right thing
to do would be to set KPKG_SUBARCH appropriately, no?
> This patch is against kernel-package 8.064 and I've been making
> kernel packages with it applied.
> Regards, Rob Radez
> --- /usr/share/kernel-package/rules.orig 2003-10-05
> 03:09:26.000000000 -0400
> +++ /usr/share/kernel-package/rules 2003-10-05 03:15:17.000000000
> -0400
> @@ -348,6 +348,7 @@
> DEBCONFIG = $(CONFDIR)/config.sparc ARCH_IN_NAME = YES
> +ifneq (,$(KPKG_SUBARCH))
> ifneq (,$(filter sparc64%,$(KPKG_SUBARCH))) KERNEL_ARCH = sparc64
> else
> @@ -362,6 +363,7 @@
> endif
> endif
> endif
> +endif
> ifneq ($(shell if [ $(VERSION) -ge 2 -a $(PATCHLEVEL) -ge 5 -a \
> $(SUBLEVEL) -ge 41 ]; then echo new; \
manoj
--
Respect is a rational process McCoy, "The Galileo Seven", stardate
2822.3
Manoj Srivastava <srivasta@debian.org> <http://www.debian.org/%7Esrivasta/>
1024R/C7261095 print CB D9 F4 12 68 07 E4 05 CC 2D 27 12 1D F5 E8 6E
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
Reply to: