mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-07 11:14:53 +00:00
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>
This commit is contained in:
parent
977d48d550
commit
364b24224a
@ -185,6 +185,11 @@ install: efi
|
||||
make -C bsp/uefi/efi HV_OBJDIR=$(HV_OBJDIR) RELEASE=$(RELEASE) install
|
||||
endif
|
||||
|
||||
ifeq ($(PLATFORM), sbl)
|
||||
install: $(VERSION) $(HV_OBJDIR)/$(HV_FILE).32.out
|
||||
install -D $(HV_OBJDIR)/$(HV_FILE).32.out $(DESTDIR)/usr/lib/acrn/$(HV_FILE).sbl
|
||||
endif
|
||||
|
||||
$(HV_OBJDIR)/$(HV_FILE).32.out: $(HV_OBJDIR)/$(HV_FILE).out
|
||||
$(OBJCOPY) -S --section-alignment=0x1000 -O elf32-i386 $< $@
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user