diff options
author | Ed Kern <ejk@cisco.com> | 2018-04-02 16:42:48 -0600 |
---|---|---|
committer | Damjan Marion <dmarion.lists@gmail.com> | 2018-04-03 19:58:00 +0000 |
commit | 56ccc23fbc6244190140bd7eb57bfa75f2312c62 (patch) | |
tree | 56fc31d7c6a5f2b519f14be76381731a5f323cfb | |
parent | 3ecc221162d644884048014dbd399a1f78b89700 (diff) |
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>
-rw-r--r-- | Makefile | 5 | ||||
-rw-r--r-- | test/Makefile | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -330,7 +330,7 @@ wipe-release: test-wipe $(BR)/.deps.ok 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))) @@ -377,6 +377,9 @@ test-shell: test-shell-debug: $(call test,vpp,vpp_debug,shell) +test-dep: + @make -C test test-dep + test-doc: @make -C test doc diff --git a/test/Makefile b/test/Makefile index 7984e3102da..cbeec79fa34 100644 --- a/test/Makefile +++ b/test/Makefile @@ -128,6 +128,8 @@ sanity: verify-no-running-vpp ext: make -C ext +test-dep: verify-python-path $(PAPI_INSTALL_DONE) + test: verify-python-path $(PAPI_INSTALL_DONE) ext sanity reset $(call retest-func) |