Package: kernel-package
Version: 8.135
Severity: important
Hi Manoj, ...
Finally, the linux/powerpc upstream folk have decided that the prep flavour be
still built with ARCH=ppc, since nobody showed up for porting it to
ARCH=powerpc yet.
Please apply the following patch, which allows for a 'prep' flavour to use
ARCH=ppc. I have tested it, and it does indeed do the right thing.
Friendly,
Sven Luther
-- System Information:
Debian Release: 3.1
Architecture: powerpc (ppc)
Kernel: Linux 2.6.15-1-powerpc
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Versions of packages kernel-package depends on:
ii dpkg 1.10.28 Package maintenance system for Deb
ii dpkg-dev 1.10.28 Package building tools for Debian
ii gcc [c-compiler] 4:3.3.5-3 The GNU C compiler
ii gcc-3.3 [c-compiler] 1:3.3.5-13 The GNU C compiler
ii make 3.80-9 The GNU version of the "make" util
ii perl 5.8.4-8sarge4 Larry Wall's Practical Extraction
-- no debconf information
--- powerpc.mk.orig 2006-05-26 13:04:09.000000000 +0000
+++ powerpc.mk 2006-05-26 14:40:09.000000000 +0000
@@ -64,6 +64,10 @@
else
ifneq (,$(findstring Amiga,$(GUESS_MACHINE)))
GUESS_SUBARCH:=apus
+ else
+ ifneq (,$(findstring Amiga,$(GUESS_MACHINE)))
+ GUESS_SUBARCH:=prep
+ endif
endif
endif
endif
@@ -115,7 +119,7 @@
ifneq (,$(findstring $(KPKG_SUBARCH), ppc ppc32 ppc64 powerpc64 powerpc
powerpc32))
KERNEL_ARCH:=powerpc
endif
- ifneq (,$(findstring $(KPKG_SUBARCH), apus Amiga APUs nubus prpmc mbx MBX))
+ ifneq (,$(findstring $(KPKG_SUBARCH), prep apus Amiga APUs nubus prpmc mbx
MBX))
KERNEL_ARCH:=ppc
endif
endif
@@ -127,7 +131,7 @@
DEBCONFIG= $(CONFDIR)/config.$(KPKG_SUBARCH)
# 32bit generic powerpc subarches.
-ifneq (,$(findstring $(KPKG_SUBARCH), powerpc powerpc32 ppc ppc32 ppc64
powerpc64))
+ifneq (,$(findstring $(KPKG_SUBARCH), prep powerpc powerpc32 ppc ppc32 ppc64
powerpc64))
KPKG_SUBARCH:=powerpc
NEED_IMAGE_POST_PROCESSING = YES
IMAGE_POST_PROCESS_TARGET := mkvmlinuz_support_install
@@ -137,7 +141,8 @@
define DO_IMAGE_POST_PROCESSING
if grep $(IMAGE_POST_PROCESS_TARGET) $(IMAGE_POST_PROCESS_DIR)/Makefile
2>&1 \
>/dev/null; then
\
- if [ "$(KERNEL_ARCH_VERSION)" = "post-2.6.15" ]; then
\
+ if [ "$(KERNEL_ARCH_VERSION)" = "post-2.6.15" ] &&
\
+ [ "$(KPKG_SUBARCH)" != "prep" ] ; then
\
$(MAKE) INSTALL_MKVMLINUZ=$(TMPTOP)$(INSTALL_MKVMLINUZ_PATH)
\
ARCH=$(KERNEL_ARCH) $(EXTRAV_ARG) $(CROSS_ARG)
\
$(IMAGE_POST_PROCESS_TARGET);
\