mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-07-13 23:24:40 +00:00
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:
parent
83034b7151
commit
e5c12a64d5
@ -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 $^
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user