Package: kernel-package
Version: 8.129
Severity: important
Tags: patch

kernel-package fails to build mipsel packages which don't specify a
subarchitecture, like kernel-headers do. The appended patch adds
a default value (and removes a useless line for mips).

This patch needs also to go in sarge, which means the bug severity
should probably increased to RC level.


Thiemo


--- kernel-package-8.129.orig/kernel/rules      2005-03-20 06:09:13.000000000 
+0100
+++ kernel-package-8.129/kernel/rules   2005-03-25 16:09:17.000000000 +0100
@@ -638,7 +638,6 @@ ifeq ($(strip $(architecture)),mips)
   endif
 
   NEED_DIRECT_GZIP_IMAGE = NO
-  kimagesrc = $(kimage)
   kimagedest = $(INT_IMAGE_DESTDIR)/vmlinux-$(version)
 
   ifneq ($(shell if [ $(VERSION)  -ge  2 ]  && [ $(PATCHLEVEL) -ge 5 ] &&    \
@@ -706,6 +705,9 @@ ifeq ($(strip $(architecture)),mipsel)
   ifeq (,$(kimage))
     kimage := vmlinux
   endif
+  ifeq (,$(kimagesrc))
+    kimagesrc := $(kimage)
+  endif
 
   NEED_DIRECT_GZIP_IMAGE = NO
   kimagedest = $(INT_IMAGE_DESTDIR)/vmlinux-$(version)


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

Reply via email to