Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
fea0713
)
build: add env variable to pass extra cmake args
45/22845/2
author
Nathan Skrzypczak
<
[email protected]
>
Mon, 16 Sep 2019 14:26:58 +0000
(16:26 +0200)
committer
Andrew Yourtchenko
<
[email protected]
>
Tue, 22 Oct 2019 11:02:29 +0000
(11:02 +0000)
If VPP_EXTRA_CMAKE_ARGS is set, its content will be
appended to the vpp cmake command cli
Type: feature
Change-Id: I825d4239e62b0a2fb70a652f0671f6c559630aad
Signed-off-by: Nathan Skrzypczak <
[email protected]
>
(cherry picked from commit
29736540335fb983f472457883e9fefde61bd913
)
build-data/packages/vpp.mk
patch
|
blob
|
history
diff --git
a/build-data/packages/vpp.mk
b/build-data/packages/vpp.mk
index
9bf9d07
..
8f2d2e0
100644
(file)
--- a/
build-data/packages/vpp.mk
+++ b/
build-data/packages/vpp.mk
@@
-42,6
+42,10
@@
ifneq ($(wildcard /opt/rh/devtoolset-7/enable),)
vpp_cmake_args += -DCMAKE_PROGRAM_PATH:PATH="/opt/rh/devtoolset-7/root/bin"
endif
+ifneq ($(VPP_EXTRA_CMAKE_ARGS),)
+vpp_cmake_args += $(VPP_EXTRA_CMAKE_ARGS)
+endif
+
vpp_configure_depend += external-install
vpp_configure = \
cd $(PACKAGE_BUILD_DIR) && \