mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-08-18 16:22:35 +00:00
Makefile: remove obsolete targets
Clean the top-level Makefile by removing some old and obsolete targets that are no longer used and for which we do not even have the required file (such as $(BOARD).xml. Tracked-On: #7632 Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
This commit is contained in:
parent
b24ff3debf
commit
bf3746c2d6
38
Makefile
38
Makefile
@ -96,20 +96,6 @@ all: hypervisor devicemodel tools
|
|||||||
python3 misc/packaging/gen_acrn_deb.py acrn_all $(ROOT_OUT) --version=$(FULL_VERSION) --board_name="$$DEB_BOARD" --scenario="$$DEB_SCENARIO"; \
|
python3 misc/packaging/gen_acrn_deb.py acrn_all $(ROOT_OUT) --version=$(FULL_VERSION) --board_name="$$DEB_BOARD" --scenario="$$DEB_SCENARIO"; \
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#help functions to build acrn and install acrn/acrn symbols
|
|
||||||
define build_acrn
|
|
||||||
$(MAKE) -C $(T)/hypervisor HV_OBJDIR=$(HV_OUT)/$(1) clean
|
|
||||||
$(MAKE) -C $(T)/hypervisor HV_OBJDIR=$(HV_OUT)/$(1) BOARD=$(1) SCENARIO=$(2) RELEASE=$(RELEASE)
|
|
||||||
endef
|
|
||||||
|
|
||||||
define install_acrn
|
|
||||||
$(MAKE) -C $(T)/hypervisor HV_OBJDIR=$(HV_OUT)/$(1) BOARD=$(1) SCENARIO=$(2) RELEASE=$(RELEASE) install
|
|
||||||
endef
|
|
||||||
|
|
||||||
define install_acrn_debug
|
|
||||||
$(MAKE) -C $(T)/hypervisor HV_OBJDIR=$(HV_OUT)/$(1) BOARD=$(1) SCENARIO=$(2) RELEASE=$(RELEASE) install-debug
|
|
||||||
endef
|
|
||||||
|
|
||||||
HV_MAKEOPTS := -C $(T)/hypervisor BOARD=$(BOARD) SCENARIO=$(SCENARIO) HV_OBJDIR=$(HV_OUT) RELEASE=$(RELEASE)
|
HV_MAKEOPTS := -C $(T)/hypervisor BOARD=$(BOARD) SCENARIO=$(SCENARIO) HV_OBJDIR=$(HV_OUT) RELEASE=$(RELEASE)
|
||||||
|
|
||||||
board_inspector:
|
board_inspector:
|
||||||
@ -175,30 +161,6 @@ hypervisor-install: hypervisor
|
|||||||
hypervisor-install-debug:
|
hypervisor-install-debug:
|
||||||
$(MAKE) $(HV_MAKEOPTS) install-debug
|
$(MAKE) $(HV_MAKEOPTS) install-debug
|
||||||
|
|
||||||
kbl-nuc-i7-industry:
|
|
||||||
$(call build_acrn,nuc7i7dnb,industry)
|
|
||||||
apl-up2-hybrid:
|
|
||||||
$(call build_acrn,apl-up2,hybrid)
|
|
||||||
|
|
||||||
sbl-hypervisor: kbl-nuc-i7-industry \
|
|
||||||
apl-up2-hybrid
|
|
||||||
|
|
||||||
kbl-nuc-i7-industry-install:
|
|
||||||
$(call install_acrn,nuc7i7dnb,industry)
|
|
||||||
apl-up2-hybrid-install:
|
|
||||||
$(call install_acrn,apl-up2,hybrid)
|
|
||||||
|
|
||||||
sbl-hypervisor-install: kbl-nuc-i7-industry-install \
|
|
||||||
apl-up2-hybrid-install
|
|
||||||
|
|
||||||
kbl-nuc-i7-industry-install-debug:
|
|
||||||
$(call install_acrn_debug,nuc7i7dnb,industry)
|
|
||||||
apl-up2-hybrid-install-debug:
|
|
||||||
$(call install_acrn_debug,apl-up2,hybrid)
|
|
||||||
|
|
||||||
sbl-hypervisor-install-debug: kbl-nuc-i7-industry-install-debug \
|
|
||||||
apl-up2-hybrid-install-debug
|
|
||||||
|
|
||||||
devicemodel-install: tools-install devicemodel
|
devicemodel-install: tools-install devicemodel
|
||||||
$(MAKE) -C $(T)/devicemodel DM_OBJDIR=$(DM_OUT) install
|
$(MAKE) -C $(T)/devicemodel DM_OBJDIR=$(DM_OUT) install
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user