r2606 - trunk/kernel/powerpc/kernel-latest-powerpc/debian

Sven Luther luther@costa.debian.org
Sat, 05 Mar 2005 09:35:44 +0100


Author: luther
Date: 2005-03-05 09:35:44 +0100 (Sat, 05 Mar 2005)
New Revision: 2606

Modified:
   trunk/kernel/powerpc/kernel-latest-powerpc/debian/rules
Log:
split 2.4 and 2.6 metapackage binary target.


Modified: trunk/kernel/powerpc/kernel-latest-powerpc/debian/rules
===================================================================
--- trunk/kernel/powerpc/kernel-latest-powerpc/debian/rules	2005-03-05 08:26:41 UTC (rev 2605)
+++ trunk/kernel/powerpc/kernel-latest-powerpc/debian/rules	2005-03-05 08:35:44 UTC (rev 2606)
@@ -12,8 +12,9 @@
 
 SHELL := sh -e
 
+FLAVOURS_24 := powerpc powerpc-smp
 FLAVOURS := powerpc powerpc-smp power3 power3-smp power4 power4-smp
-BINARY_ARCH := $(FLAVOURS:=.binary-arch)
+BINARY_ARCH := $(FLAVOURS:=.binary-arch) $(FLAVOURS_24:=.binary-arch-2.4)
 
 build:
 # Ye olde no-op.
@@ -45,9 +46,15 @@
 	dh_builddeb --package=$*
 
 
-%.binary-arch: kernel-headers-2.6.binary-arch-pkg kernel-headers-2.4.binary-arch-pkg kernel-headers.binary-arch-pkg kernel-image-2.6-%.binary-arch-pkg kernel-image-2.4-%.binary-arch-pkg kernel-image-%.binary-arch-pkg
+%.binary-arch: \
+kernel-headers-2.6.binary-arch-pkg kernel-headers.binary-arch-pkg \
+kernel-image-2.6-%.binary-arch-pkg kernel-image-%.binary-arch-pkg
 	@true
 
+%.binary-arch-2.4: \
+kernel-headers-2.4.binary-arch-pkg kernel-image-2.4-%.binary-arch-pkg
+	@true
+
 # Build architecture-dependent files here.
 binary-arch: install $(BINARY_ARCH)