Package: kernel-package

Somewhere between 2.6.18-7 and 2.6.18-8, something changed which causes
make-kpkg to pass CROSS_COMPILE to make. CROSS_COMPILE is set by
arch/parisc/Makefile in the kernel to the correct value when CONFIG_64BIT
is set in the kernel config (as it is for config.{parisc64,parisc64-smp}).

It would be nice if the empty CROSS_COMPILE wasn't set, so we could
control it in the kernel, but I have a patch for make-kpkg to pass it
there... It's currently build testing a kernel build, but it will take a
while to get to the failure point.

diff -Nur kernel-package-10.065/kernel/ruleset/arches/hppa.mk 
kernel-package-10.065~/kernel/ruleset/arches/hppa.mk
--- kernel-package-10.065/kernel/ruleset/arches/hppa.mk 2006-08-24 
00:41:45.000000000 -0400
+++ kernel-package-10.065~/kernel/ruleset/arches/hppa.mk        2006-12-28 
12:19:33.000000000 -0500
@@ -43,6 +43,10 @@
 # This doesn't seem to work, but the other archs do it...
 DEBCONFIG=$(CONFDIR)/config.$(KPKG_SUBARCH)
 
+ifneq (,$(findstring $(KPKG_SUBARCH), parisc64))
+  KERNEL_CROSS:=hppa64-linux-gnu-
+endif
+
 #Local variables:
 #mode: makefile
 #End:


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to