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>
This commit is contained in:
Ian Campbell committed 2012-03-14 14:10:17 +00:00
1 parent cd6e69c530
commit 5ca9053cee
2 files changed
+5 -2

No files matched your search

-2
View File
@@ -127,7 +127,6 @@ subdir-all-qemu-xen-traditional-dir subdir-install-qemu-xen-traditional-dir: qem
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-all-qemu-xen-dir subdir-install-qemu-xen-dir: qemu-xen-dir-find
subdir-clean-qemu-xen-dir:
set -e; if test -d qemu-xen-dir/.; then \
$(buildmakevars2shellvars); \
$(MAKE) -C qemu-xen-dir clean; \
fi
+5
View File
@@ -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
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.