summaryrefslogtreecommitdiffstats
path: root/src/qemu
diff options
context:
space:
mode:
Diffstat (limited to 'src/qemu')
-rwxr-xr-xsrc/qemu/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/qemu/Makefile b/src/qemu/Makefile
index 1a736a29..0a71cf78 100755
--- a/src/qemu/Makefile
+++ b/src/qemu/Makefile
@@ -27,7 +27,8 @@ TAG_DONE_FLAG = $(WORK_DIR)/.$(QEMU_TAG).done
CONFIG_CMD =
CONFIG_CMD += ./configure
CONFIG_CMD += --target-list="x86_64-softmmu"
-
+QEMU_VANILLA = ../../src_vanilla/qemu
+QEMU_CUSE = ../../src_cuse/qemu
all: force_make
@@ -56,6 +57,8 @@ install: $(INSTALL_TARGET)
clean:
clobber:
$(AT)rm -rf $(WORK_DIR)
+ $(AT)rm -rf $(QEMU_VANILLA)
+ $(AT)rm -rf $(QEMU_CUSE)
# cleanse is for developer who would like to keep the
# clone git repo, saving time to fetch again from url
@@ -72,6 +75,10 @@ $(WORK_DIR)/configure: $(TAG_DONE_FLAG)
$(WORK_DIR):
$(AT)git clone $(QEMU_URL)
+ $(AT)mkdir -p $(QEMU_VANILLA)
+ $(AT)cp -rf ./* $(QEMU_VANILLA)
+ $(AT)mkdir -p $(QEMU_CUSE)
+ $(AT)cp -rf ./* $(QEMU_CUSE)
$(TAG_DONE_FLAG): $(WORK_DIR)
$(AT)cd $(WORK_DIR); git checkout $(QEMU_TAG)