Makefile: Alter VPP_PYTHON_PREFIX for preloading deps
Allow setting of VPP_PYTHON_PREFIX to alternate location so the python prereqs can be installed into base image Also added test-dep trigger to isolate dependency install from actual test run Change-Id: Ia80f5dbf71bc24eb46cd6586bcadd474ef822704 Signed-off-by: Ed Kern <ejk@cisco.com>
This commit is contained in:
5
Makefile
5
Makefile
@ -330,7 +330,7 @@ wipe-release: test-wipe $(BR)/.deps.ok
|
|||||||
|
|
||||||
rebuild-release: wipe-release build-release
|
rebuild-release: wipe-release build-release
|
||||||
|
|
||||||
export VPP_PYTHON_PREFIX=$(BR)/python
|
export VPP_PYTHON_PREFIX ?= $(BR)/python
|
||||||
|
|
||||||
libexpand = $(subst $(subst ,, ),:,$(foreach lib,$(1),$(BR)/install-$(2)-native/vpp/$(lib)/$(3)))
|
libexpand = $(subst $(subst ,, ),:,$(foreach lib,$(1),$(BR)/install-$(2)-native/vpp/$(lib)/$(3)))
|
||||||
|
|
||||||
@ -377,6 +377,9 @@ test-shell:
|
|||||||
test-shell-debug:
|
test-shell-debug:
|
||||||
$(call test,vpp,vpp_debug,shell)
|
$(call test,vpp,vpp_debug,shell)
|
||||||
|
|
||||||
|
test-dep:
|
||||||
|
@make -C test test-dep
|
||||||
|
|
||||||
test-doc:
|
test-doc:
|
||||||
@make -C test doc
|
@make -C test doc
|
||||||
|
|
||||||
|
@ -128,6 +128,8 @@ sanity: verify-no-running-vpp
|
|||||||
ext:
|
ext:
|
||||||
make -C ext
|
make -C ext
|
||||||
|
|
||||||
|
test-dep: verify-python-path $(PAPI_INSTALL_DONE)
|
||||||
|
|
||||||
test: verify-python-path $(PAPI_INSTALL_DONE) ext sanity reset
|
test: verify-python-path $(PAPI_INSTALL_DONE) ext sanity reset
|
||||||
$(call retest-func)
|
$(call retest-func)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user