aboutsummaryrefslogtreecommitdiff
path: root/tests/hello-world/source.mk
diff options
context:
space:
mode:
Diffstat (limited to 'tests/hello-world/source.mk')
-rw-r--r--tests/hello-world/source.mk10
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/hello-world/source.mk b/tests/hello-world/source.mk
index 52d642d..5fd60ff 100644
--- a/tests/hello-world/source.mk
+++ b/tests/hello-world/source.mk
@@ -1,8 +1,2 @@
-TESTS := $(TESTS) hello-world
-
-.PHONY: hello-world
-hello-world: hello-world/init.c $(COMMON)
- mkdir -p build/hello-world
- $(COMPILE) hello-world/init.c build/printf.o -o build/hello-world/init
- echo build/hello-world/init | $(GEN_INITRD) build/hello-world/initrd
- $(QEMU) build/hello-world/initrd | grep 'Hello, world!'
+DO != ./scripts/gen-prog -n hello-world -p init init.c
+DO != ./scripts/gen-simple -n hello-world -p init