ia64/xen-unstable

changeset 9947:6e55040e7b79

Replace a bash-specific substitution with equivalent POSIX /bin/sh
substitutions. This allows a Xen-patched Linux to build when /bin/sh
is a POSIX shell other than bash.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
author kaf24@firebug.cl.cam.ac.uk
date Fri May 05 13:51:03 2006 +0100 (2006-05-05)
parents 9aba6cd8e9e1
children 0839d57c8864
files linux-2.6-xen-sparse/scripts/Makefile.xen
line diff
     1.1 --- a/linux-2.6-xen-sparse/scripts/Makefile.xen	Fri May 05 13:49:49 2006 +0100
     1.2 +++ b/linux-2.6-xen-sparse/scripts/Makefile.xen	Fri May 05 13:51:03 2006 +0100
     1.3 @@ -2,9 +2,9 @@
     1.4  # cherrypickxen($1 = allobj)
     1.5  cherrypickxen = $(foreach var, $(1), \
     1.6  		$(shell o=$(var); \
     1.7 -			c=$${o/%.o/-xen.c}; \
     1.8 -			s=$${o/%.o/-xen.S}; \
     1.9 -			oxen=$${o/%.o/-xen.o}; \
    1.10 +			c=$${o%.o}-xen.c; \
    1.11 +			s=$${o%.o}-xen.S; \
    1.12 +			oxen=$${o%.o}-xen.o; \
    1.13  			[ -f $(srctree)/$(src)/$${c} ] || \
    1.14  			   [ -f $(srctree)/$(src)/$${s} ] \
    1.15  				&& echo $$oxen \