Skip to content

Commit 364b242

Browse files
miguelinuxjren1
authored andcommitted
hypervisor: install acrn.32.out to /usr/lib/acrn/acrn.sbl
Add a target in the make file to install the 32bit ELF acrn binary and rename to acrn.sbl Suggested-by: Arzhan Kinzhalin <arzhan.i.kinzhalin@intel.com> Signed-off-by: Miguel Bernal Marin <miguel.bernal.marin@linux.intel.com>
1 parent 977d48d commit 364b242

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

hypervisor/Makefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,11 @@ install: efi
185185
make -C bsp/uefi/efi HV_OBJDIR=$(HV_OBJDIR) RELEASE=$(RELEASE) install
186186
endif
187187

188+
ifeq ($(PLATFORM), sbl)
189+
install: $(VERSION) $(HV_OBJDIR)/$(HV_FILE).32.out
190+
install -D $(HV_OBJDIR)/$(HV_FILE).32.out $(DESTDIR)/usr/lib/acrn/$(HV_FILE).sbl
191+
endif
192+
188193
$(HV_OBJDIR)/$(HV_FILE).32.out: $(HV_OBJDIR)/$(HV_FILE).out
189194
$(OBJCOPY) -S --section-alignment=0x1000 -O elf32-i386 $< $@
190195

0 commit comments

Comments
 (0)