r3232 - branches/kernel-image-2.6.11

Jurij Smakov jurij-guest@costa.debian.org
Mon, 23 May 2005 23:32:42 +0000


Author: jurij-guest
Date: 2005-05-23 23:32:42 +0000 (Mon, 23 May 2005)
New Revision: 3232

Modified:
   branches/kernel-image-2.6.11/Makefile
Log:
Corrected the asm-offsets.s magic.


Modified: branches/kernel-image-2.6.11/Makefile
===================================================================
--- branches/kernel-image-2.6.11/Makefile	2005-05-23 22:28:26 UTC (rev 3231)
+++ branches/kernel-image-2.6.11/Makefile	2005-05-23 23:32:42 UTC (rev 3232)
@@ -203,7 +203,7 @@
 	$(subst @flavour@,$*,$(kpkg_build_cmd));		\
 	$(if $(image_postproc),$(image_postproc),true);		\
 	arch=$$(basename $$(readlink include/asm));		\
-	arch="${arch#asm-}";					\
+	arch="$${arch#asm-}";					\
 	src="arch/$${arch}/kernel/asm-offsets.s";		\
 	dst="../$(kdir)/$${src}";				\
 	if [ -f "$${src}" ] && [ ! -L "$${dst}" ]; then		\