r3227 - branches/kernel-image-2.6.11

Jurij Smakov jurij-guest@costa.debian.org
Mon, 23 May 2005 17:00:16 +0000


Author: jurij-guest
Date: 2005-05-23 17:00:15 +0000 (Mon, 23 May 2005)
New Revision: 3227

Modified:
   branches/kernel-image-2.6.11/Makefile
   branches/kernel-image-2.6.11/README
Log:
Allow passing arbitrary build_subarch string.


Modified: branches/kernel-image-2.6.11/Makefile
===================================================================
--- branches/kernel-image-2.6.11/Makefile	2005-05-23 16:56:35 UTC (rev 3226)
+++ branches/kernel-image-2.6.11/Makefile	2005-05-23 17:00:15 UTC (rev 3227)
@@ -59,7 +59,7 @@
   kpkg_build_cmd   += --added_patches $(subst @uver@,$(uver),$(added_patches))
 endif
 ifdef build_subarch
-  kpkg_build_cmd += --subarch @flavour@
+  kpkg_build_cmd += --subarch $(build_subarch)
 endif
 ifdef headers_subarch
   kpkg_headers_cmd += --subarch $(headers_subarch)

Modified: branches/kernel-image-2.6.11/README
===================================================================
--- branches/kernel-image-2.6.11/README	2005-05-23 16:56:35 UTC (rev 3226)
+++ branches/kernel-image-2.6.11/README	2005-05-23 17:00:15 UTC (rev 3227)
@@ -144,15 +144,13 @@
 build_subarch
 
   Setting this variable to non-empty value will cause an option
-  --subarch to be added to 'build' and 'kernel-image' make-kpkg
-  calls, followed by the flavour for which the kernel is built.
-  In general, if you wish to add subarch support for your 
-  architecture, you should contact kernel-package maintainer
+  --subarch $(build_subarch) added to 'build' and 'kernel-image'
+  make-kpkg calls. In general, if you wish to add subarch support
+  for your architecture, you should contact kernel-package maintainer
   to ensure that the flavour name correctly maps onto a kernel
-  subarch name. Currently only mips and sparc are using this
-  facility, and both of them should be fine. Typical usage:
+  subarch name. Typical usage:
 
-  build_subarch := yes
+  build_subarch := pmac
 
   Note that the value of this variable is ignored.