And give ivshmem-demo.c a new home.

Signed-off-by: Ralf Ramsauer <[email protected]>
---
 .gitignore                       | 2 +-
 tools/Makefile                   | 4 ++--
 tools/{ => demos}/ivshmem-demo.c | 0
 3 files changed, 3 insertions(+), 3 deletions(-)
 rename tools/{ => demos}/ivshmem-demo.c (100%)

diff --git a/.gitignore b/.gitignore
index 4691ff79..1d8905ab 100644
--- a/.gitignore
+++ b/.gitignore
@@ -21,7 +21,7 @@ hypervisor/hypervisor.lds
 inmates/lib/arm/inmate.lds
 inmates/lib/arm64/inmate.lds
 pyjailhouse/pci_defs.py
-tools/ivshmem-demo
+tools/demos/ivshmem-demo
 tools/jailhouse
 tools/jailhouse-gcov-extract
 tools/jailhouse-config-collect
diff --git a/tools/Makefile b/tools/Makefile
index e6945cd6..8cf5df84 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -34,7 +34,7 @@ KBUILD_LDFLAGS :=
 KBUILD_CFLAGS += $(call cc-option, -fno-pie)
 KBUILD_CFLAGS += $(call cc-option, -no-pie)
 
-BINARIES := jailhouse ivshmem-demo
+BINARIES := jailhouse demos/ivshmem-demo
 always-y := $(BINARIES)
 
 HAS_PYTHON_MAKO := \
@@ -104,7 +104,7 @@ define cmd_gen_man
        sed 's/$${VERSION}/$(shell cat $(src)/../VERSION)/g' $< > $@
 endef
 
-targets += jailhouse.o ivshmem-demo.o
+targets += jailhouse.o demos/ivshmem-demo.o
 
 $(obj)/%: $(obj)/%.o
        $(call if_changed,ld)
diff --git a/tools/ivshmem-demo.c b/tools/demos/ivshmem-demo.c
similarity index 100%
rename from tools/ivshmem-demo.c
rename to tools/demos/ivshmem-demo.c
-- 
2.29.1

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/20201029145515.386953-1-ralf.ramsauer%40oth-regensburg.de.

Reply via email to