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>
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
subdir-clean-qemu-xen-dir:
set -e; if test -d qemu-xen-dir/.; then \
- $(buildmakevars2shellvars); \
$(MAKE) -C qemu-xen-dir clean; \
fi
$(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