summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-10-12 01:33:37 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-10-17 19:26:07 +0200
commit4625914272690bae76cee1d24b82c9aaa6f393fc (patch)
treea80970c1af550bf09ab3f605908cd14c75450d56
parent94c8a84d30081c8f9fa92c118f23aca9b8880ae6 (diff)
qemu: add build-only target
Useful for IDEs Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
-rw-r--r--src/tests/qemu/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tests/qemu/Makefile b/src/tests/qemu/Makefile
index 98546f1..e1ffb0c 100644
--- a/src/tests/qemu/Makefile
+++ b/src/tests/qemu/Makefile
@@ -65,6 +65,7 @@ CPPFLAGS := -I$(BUILD_PATH)/include
MUSL_CC := $(BUILD_PATH)/musl-gcc
+build: $(KERNEL_BZIMAGE)
qemu: $(KERNEL_BZIMAGE)
rm -f $(BUILD_PATH)/result
qemu-system-$(ARCH) \
@@ -234,3 +235,5 @@ clean:
distclean: clean
rm -rf $(DISTFILES_PATH)
+
+.PHONY: qemu build