diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2012-03-14 14:10:17 +0000 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2012-03-14 14:10:17 +0000 |
commit | 5ca9053cee7d508fcabaf9a591c26930c0957aaa (patch) | |
tree | b579912b7ae366d397585d80b6ab3856090a7c76 /tools/firmware | |
parent | cd6e69c530412e6dc02a5803632328d02483490e (diff) | |
download | xen-5ca9053cee7d508fcabaf9a591c26930c0957aaa.tar.gz xen-5ca9053cee7d508fcabaf9a591c26930c0957aaa.tar.bz2 xen-5ca9053cee7d508fcabaf9a591c26930c0957aaa.zip |
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>
Diffstat (limited to 'tools/firmware')
-rw-r--r-- | tools/firmware/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/firmware/Makefile b/tools/firmware/Makefile index 5d40bcd2f8..696c7afc67 100644 --- a/tools/firmware/Makefile +++ b/tools/firmware/Makefile @@ -55,3 +55,8 @@ seabios-dir-force-update: $(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 |