diff options
author | Shuo Liu <shuo.a.liu@intel.com> | 2021-02-07 06:10:40 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-02-09 12:58:19 +0300 |
commit | 5b06931d7f8b8059bec8563b2e8d531218e03e2f (patch) | |
tree | 2cb35bcd535901042ce76b13d4701282fd116767 /samples/acrn/Makefile | |
parent | 279dcf693ac76c9d16b91ffc41280babaff26bb2 (diff) | |
download | linux-5b06931d7f8b8059bec8563b2e8d531218e03e2f.tar.xz |
sample/acrn: Introduce a sample of HSM ioctl interface usage
Launch a simple guest (with several instructions as payload) on ACRN
with demonstration ioctl usage.
Signed-off-by: Shuo Liu <shuo.a.liu@intel.com>
Link: https://lore.kernel.org/r/20210207031040.49576-19-shuo.a.liu@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples/acrn/Makefile')
-rw-r--r-- | samples/acrn/Makefile | 12 |
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 |