mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-02 21:46:58 +00:00
deb-pkg: Support specifying board.xml and scenario.xml
Currently, if board.xml and scenario.xml are specified, the variable $(BOARD) and $(SCENARIO) are path, but the parameters passed in to generate debian package should be board and scenario name. So add a conversion function to ensure that the function passed to the generated debian package is board and scenario name. Tracked-On: #6688 Signed-off-by: Hu Fenglin <fenglin.hu@intel.com>
This commit is contained in:
parent
fc7e26dde8
commit
d128923ed9
4
Makefile
4
Makefile
@ -83,7 +83,9 @@ ASL_COMPILER ?= $(shell which iasl)
|
|||||||
.PHONY: all hypervisor devicemodel tools life_mngr doc
|
.PHONY: all hypervisor devicemodel tools life_mngr doc
|
||||||
all: hypervisor devicemodel tools
|
all: hypervisor devicemodel tools
|
||||||
@cat $(HV_CFG_LOG)
|
@cat $(HV_CFG_LOG)
|
||||||
@python3 misc/packaging/gen_acrn_deb.py acrn_all $(ROOT_OUT) --version=$(FULL_VERSION) --board_name=$(BOARD) --scenario=$(SCENARIO)
|
@DEB_BOARD=$$(grep "BOARD" $(HV_CFG_LOG) | awk -F '= ' '{print $$2 }'); \
|
||||||
|
DEB_SCENARIO=$$(grep "SCENARIO" $(HV_CFG_LOG) | awk -F '= ' '{print $$2 }'); \
|
||||||
|
python3 misc/packaging/gen_acrn_deb.py acrn_all $(ROOT_OUT) --version=$(FULL_VERSION) --board_name="$$DEB_BOARD" --scenario="$$DEB_SCENARIO"
|
||||||
|
|
||||||
#help functions to build acrn and install acrn/acrn symbols
|
#help functions to build acrn and install acrn/acrn symbols
|
||||||
define build_acrn
|
define build_acrn
|
||||||
|
Loading…
Reference in New Issue
Block a user