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:
5a504b0
)
misc: improve src detection in configure script
01/32201/3
author
Mohammed Hawari
<mohammed@hawari.fr>
Tue, 4 May 2021 09:34:37 +0000
(11:34 +0200)
committer
Damjan Marion
<dmarion@me.com>
Tue, 4 May 2021 12:21:16 +0000
(12:21 +0000)
Change-Id: I2c45b160d76883044a3a7db0afcac0c56bcd2bcf
Signed-off-by: Mohammed Hawari <mohammed@hawari.fr>
Type: feature
configure
patch
|
blob
|
history
diff --git
a/configure
b/configure
index
384cfcf
..
71af538
100755
(executable)
--- a/
configure
+++ b/
configure
@@
-8,6
+8,7
@@
build_dir=.
install_dir=/usr/local
build_type=release
prefix_path=/opt/vpp/external/$(uname -m)/
+src_dir="$(dirname "$(readlink -f "$0")")"
help()
{
@@
-75,7
+76,7
@@
done
cmake \
-G Ninja \
- -S src \
+ -S
${src_dir}/
src \
-B ${build_dir} \
-DCMAKE_PREFIX_PATH=${prefix_path} \
-DCMAKE_INSTALL_PREFIX=${install_dir} \