Makefile: add install-samples-up2

Add a rule to add UP2 related samples in rootfs.

Tracked-On: #1995
Signed-off-by: Tw <wei.tan@intel.com>
Reviewed-by: Binbin Wu <binbin.wu@intel.com>
This commit is contained in:
Tw 2018-12-24 16:57:28 +08:00 committed by wenlingz
parent 83034b7151
commit e5c12a64d5
1 changed files with 4 additions and 0 deletions

View File

@ -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 $^