From bf3746c2d6326f0e3583b006a1436322eaae0bb2 Mon Sep 17 00:00:00 2001 From: Geoffroy Van Cutsem Date: Tue, 31 May 2022 09:11:01 +0200 Subject: [PATCH] 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 --- Makefile | 38 -------------------------------------- 1 file changed, 38 deletions(-) diff --git a/Makefile b/Makefile index 010e79a01..3872b2ce6 100644 --- a/Makefile +++ b/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"; \ 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) board_inspector: @@ -175,30 +161,6 @@ hypervisor-install: hypervisor hypervisor-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 $(MAKE) -C $(T)/devicemodel DM_OBJDIR=$(DM_OUT) install