Date
1 - 2 of 2
[PATCH 2/2] Makefile: remove ASL_COMPILER dependency
Yu Wang
Acked-by: Wang, Yu1 <yu1.wang@...>
toggle quoted message
Show quoted text
On Sun, Jun 12, 2022 at 01:42:03PM +0800, Victor Sun wrote:
Given ASL_COMPILER macro is removed from devicemodel, remove this dependency |
|
Victor Sun
Given ASL_COMPILER macro is removed from devicemodel, remove this dependency
in devicemodel Makefile. Signed-off-by: Victor Sun <victor.sun@...> --- Makefile | 3 +-- devicemodel/Makefile | 4 ---- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 3872b2ce6..fa2b6d3c5 100644 --- a/Makefile +++ b/Makefile @@ -82,7 +82,6 @@ BUILD_VERSION ?= BUILD_TAG ?= HV_CFG_LOG = $(HV_OUT)/cfg.log VM_CONFIGS_DIR = $(T)/misc/config_tools -ASL_COMPILER ?= $(shell which iasl) DPKG_BIN ?= $(shell which dpkg) YARN_BIN ?= $(shell which yarn) CARGO_BIN ?= $(shell which cargo) @@ -132,7 +131,7 @@ hvapplydiffconfig: @$(MAKE) applydiffconfig $(HV_MAKEOPTS) PATCH=$(abspath $(PATCH)) devicemodel: tools - $(MAKE) -C $(T)/devicemodel DM_OBJDIR=$(DM_OUT) DM_BUILD_VERSION=$(BUILD_VERSION) DM_BUILD_TAG=$(BUILD_TAG) DM_ASL_COMPILER=$(ASL_COMPILER) TOOLS_OUT=$(TOOLS_OUT) RELEASE=$(RELEASE) + $(MAKE) -C $(T)/devicemodel DM_OBJDIR=$(DM_OUT) DM_BUILD_VERSION=$(BUILD_VERSION) DM_BUILD_TAG=$(BUILD_TAG) TOOLS_OUT=$(TOOLS_OUT) RELEASE=$(RELEASE) tools: mkdir -p $(TOOLS_OUT) diff --git a/devicemodel/Makefile b/devicemodel/Makefile index 3fcd1dd55..d4b87876a 100644 --- a/devicemodel/Makefile +++ b/devicemodel/Makefile @@ -45,10 +45,6 @@ CFLAGS += -I$(SYSROOT)/usr/include/SDL2 CFLAGS += -I$(SYSROOT)/usr/include/EGL CFLAGS += -I$(SYSROOT)/usr/include/GLES2 -ifneq (, $(DM_ASL_COMPILER)) -CFLAGS += -DASL_COMPILER=\"$(DM_ASL_COMPILER)\" -endif - GCC_MAJOR=$(shell echo __GNUC__ | $(CC) -E -x c - | tail -n 1) GCC_MINOR=$(shell echo __GNUC_MINOR__ | $(CC) -E -x c - | tail -n 1) -- 2.25.1 |
|