aboutsummaryrefslogtreecommitdiff
path: root/samples/acrn/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'samples/acrn/Makefile')
-rw-r--r--samples/acrn/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/samples/acrn/Makefile b/samples/acrn/Makefile
new file mode 100644
index 000000000000..c8e3ed9785e9
--- /dev/null
+++ b/samples/acrn/Makefile
@@ -0,0 +1,12 @@
+# SPDX-License-Identifier: GPL-2.0
+
+.PHONY: vm-sample
+
+vm-sample: vm-sample.o payload.o
+ $(CC) $^ -o $@
+
+payload.o: payload.ld guest16.o
+ $(LD) -T $< -o $@
+
+clean:
+ rm *.o vm-sample