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 <bruce.richardson@intel.com>
Acked-by: Luca Boccassi <bluca@debian.org>
This commit is contained in:
Bruce Richardson 2019-10-08 15:36:26 +01:00 committed by Thomas Monjalon
parent 6bbc5a9236
commit 7b3a6d7e35

View File

@ -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 ]