From e5c12a64d544767dc0a1621d684f6513d24d3920 Mon Sep 17 00:00:00 2001 From: Tw Date: Mon, 24 Dec 2018 16:57:28 +0800 Subject: [PATCH] Makefile: add install-samples-up2 Add a rule to add UP2 related samples in rootfs. Tracked-On: #1995 Signed-off-by: Tw Reviewed-by: Binbin Wu --- devicemodel/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/devicemodel/Makefile b/devicemodel/Makefile index c3e6d6ae3..203c97b44 100644 --- a/devicemodel/Makefile +++ b/devicemodel/Makefile @@ -156,6 +156,7 @@ PROGRAM := acrn-dm SAMPLES_NUC := $(wildcard samples/nuc/*) SAMPLES_MRB := $(wildcard samples/apl-mrb/*) +SAMPLES_UP2 := $(wildcard samples/up2/*) BIOS_BIN := $(wildcard bios/*) @@ -210,6 +211,9 @@ $(DM_OBJDIR)/%.o: %.c $(HEADERS) install: $(DM_OBJDIR)/$(PROGRAM) install-samples-nuc install-samples-mrb install-bios install-vmcfg install -D --mode=0755 $(DM_OBJDIR)/$(PROGRAM) $(DESTDIR)/usr/bin/$(PROGRAM) +install-samples-up2: $(SAMPLES_UP2) + install -D -t $(DESTDIR)/usr/share/acrn/samples/up2 $^ + install-samples-nuc: $(SAMPLES_NUC) install -D -t $(DESTDIR)/usr/share/acrn/samples/nuc $^