aboutsummaryrefslogtreecommitdiffstats
path: root/extras
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2021-04-28 17:30:51 +0200
committerFlorin Coras <florin.coras@gmail.com>2021-04-28 17:23:22 +0000
commitedca8c6e753380f12d23e9ee4e0a9be4e24c43a8 (patch)
treed289767cbdb3807242257056aca6aa76affa79b8 /extras
parentdf6d986f81f89ed46288ab508485700b4ed7dca1 (diff)
vppinfra: don't fail if config.h is missing, fallback to defaults instead
Type: improvement Change-Id: Idc82d40a16cbc8a401a8fb359bc63083f47361b9 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'extras')
-rwxr-xr-xextras/scripts/build_static_vppctl.sh7
1 files changed, 0 insertions, 7 deletions
diff --git a/extras/scripts/build_static_vppctl.sh b/extras/scripts/build_static_vppctl.sh
index 1c09055492c..7ed2be24e82 100755
--- a/extras/scripts/build_static_vppctl.sh
+++ b/extras/scripts/build_static_vppctl.sh
@@ -1,16 +1,12 @@
#/bin/env bash
src=$(realpath $(dirname $0)/../..)/src
-tmp=$(mktemp -d)
-mkdir ${tmp}/vppinfra
-touch ${tmp}/vppinfra/config.h
${CC:-cc} \
-O2 \
-flto \
-static \
-I ${src} \
- -I ${tmp} \
${src}/vppinfra/backtrace.c \
${src}/vppinfra/dlmalloc.c \
${src}/vppinfra/elf.c \
@@ -29,6 +25,3 @@ ${CC:-cc} \
${src}/vppinfra/linux/mem.c \
${src}/vpp/app/vppctl.c \
-o vppctl
-
-rm ${tmp}/vppinfra/config.h
-rmdir ${tmp}/vppinfra ${tmp}