mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
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>
This commit is contained in:
1 parent
b7f7d7a8ec
commit
4a0f8a20b8
1 file changed
+3
-3
@@ -2,9 +2,9 @@
|
||||
# cherrypickxen($1 = allobj)
|
||||
cherrypickxen = $(foreach var, $(1), \
|
||||
$(shell o=$(var); \
|
||||
c=$${o/%.o/-xen.c}; \
|
||||
s=$${o/%.o/-xen.S}; \
|
||||
oxen=$${o/%.o/-xen.o}; \
|
||||
c=$${o%.o}-xen.c; \
|
||||
s=$${o%.o}-xen.S; \
|
||||
oxen=$${o%.o}-xen.o; \
|
||||
[ -f $(srctree)/$(src)/$${c} ] || \
|
||||
[ -f $(srctree)/$(src)/$${s} ] \
|
||||
&& echo $$oxen \
|
||||
|
||||