From: Bruce Richardson Date: Tue, 8 Oct 2019 14:36:26 +0000 (+0100) Subject: buildtools: remove make-specific from symbols check X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=7b3a6d7e35369ee31651279af23986366c5a07a2;p=dpdk.git buildtools: remove make-specific from symbols check The check-experimental-syms.sh script was finding the map-list-symbol.sh script using $RTE_SDK, which is the variable set when using the "make" build system. To make this script more independent, we just use the current path of the script as the location to find its companion script. Signed-off-by: Bruce Richardson Acked-by: Luca Boccassi --- diff --git a/buildtools/check-experimental-syms.sh b/buildtools/check-experimental-syms.sh index 47a06fcc63..145dd70ebf 100755 --- a/buildtools/check-experimental-syms.sh +++ b/buildtools/check-experimental-syms.sh @@ -5,7 +5,7 @@ MAPFILE=$1 OBJFILE=$2 -LIST_SYMBOL=$RTE_SDK/buildtools/map-list-symbol.sh +LIST_SYMBOL=$(dirname $(readlink -f $0))/map-list-symbol.sh # added check for "make -C test/" usage if [ ! -e $MAPFILE ] || [ ! -f $OBJFILE ]