Mailing List Archive

[xen-unstable] tools: Add explicit clean rule for SeaBIOS
# HG changeset patch
# User Ian Campbell <ian.campbell@citrix.com>
# Date 1331734217 0
# Node ID f5fbbb2918c6739b2eeb82297417ee4829b8eed8
# Parent 6868b2ca35a0e2a06f6f486142735062e1c1527f
tools: Add explicit clean rule for SeaBIOS

Since seabios-dir is cloned during build we need to check that it exists before
recursing into it for clean, following the pattern used for qemu-*-dir etc.

Also remove usage of "buildmakevars2shellvars" except when used to poopulate
the environment for qemu-xen-traditional's xen-setup script, which is the only
user.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
---


diff -r 6868b2ca35a0 -r f5fbbb2918c6 tools/Makefile
--- a/tools/Makefile Wed Mar 14 14:08:04 2012 +0000
+++ b/tools/Makefile Wed Mar 14 14:10:17 2012 +0000
@@ -127,7 +127,6 @@

subdir-clean-qemu-xen-traditional-dir:
set -e; if test -d qemu-xen-traditional-dir/.; then \
- $(buildmakevars2shellvars); \
$(MAKE) -C qemu-xen-traditional-dir clean; \
fi

@@ -162,7 +161,6 @@

subdir-clean-qemu-xen-dir:
set -e; if test -d qemu-xen-dir/.; then \
- $(buildmakevars2shellvars); \
$(MAKE) -C qemu-xen-dir clean; \
fi

diff -r 6868b2ca35a0 -r f5fbbb2918c6 tools/firmware/Makefile
--- a/tools/firmware/Makefile Wed Mar 14 14:08:04 2012 +0000
+++ b/tools/firmware/Makefile Wed Mar 14 14:10:17 2012 +0000
@@ -55,3 +55,8 @@
$(GIT) fetch origin; \
$(GIT) reset --hard $(SEABIOS_UPSTREAM_TAG); \
fi
+
+subdir-clean-seabios-dir:
+ set -e; if test -d seabios-dir/.; then \
+ $(MAKE) -C seabios-dir clean; \
+ fi

_______________________________________________
Xen-changelog mailing list
Xen-changelog@lists.xen.org
http://lists.xensource.com/xen-changelog