devtools: support FreeBSD
[dpdk.git] / devtools / validate-abi.sh
index 54df2e4..f64e19d 100755 (executable)
@@ -9,7 +9,7 @@ set -e
 abicheck=abi-compliance-checker
 abidump=abi-dumper
 default_dst=abi-check
-default_target=x86_64-native-linux-gcc
+default_target=x86_64-native-linuxapp-gcc
 
 # trap on error
 err_report() {
@@ -181,7 +181,7 @@ case "${dst}" in
        /*) ;;
        *) dst=${PWD}/${dst} ;;
 esac
-dpdkroot=$(readlink -e $(dirname $0)/..)
+dpdkroot=$(readlink -f $(dirname $0)/..)
 
 if [ -e "${dst}" -a "$force" = 0 ]; then
        echo "The ${dst} directory is not empty. Remove it, use another"