Skip to content

Commit e5c12a6

Browse files
tw4452852wenlingz
authored andcommitted
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>
1 parent 83034b7 commit e5c12a6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

devicemodel/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,7 @@ PROGRAM := acrn-dm
156156

157157
SAMPLES_NUC := $(wildcard samples/nuc/*)
158158
SAMPLES_MRB := $(wildcard samples/apl-mrb/*)
159+
SAMPLES_UP2 := $(wildcard samples/up2/*)
159160

160161
BIOS_BIN := $(wildcard bios/*)
161162

@@ -210,6 +211,9 @@ $(DM_OBJDIR)/%.o: %.c $(HEADERS)
210211
install: $(DM_OBJDIR)/$(PROGRAM) install-samples-nuc install-samples-mrb install-bios install-vmcfg
211212
install -D --mode=0755 $(DM_OBJDIR)/$(PROGRAM) $(DESTDIR)/usr/bin/$(PROGRAM)
212213

214+
install-samples-up2: $(SAMPLES_UP2)
215+
install -D -t $(DESTDIR)/usr/share/acrn/samples/up2 $^
216+
213217
install-samples-nuc: $(SAMPLES_NUC)
214218
install -D -t $(DESTDIR)/usr/share/acrn/samples/nuc $^
215219

0 commit comments

Comments
 (0)