eal: add internal ABI tag definition
[dpdk.git] / devtools / test-build.sh
index e6e4058..6e53f86 100755 (executable)
@@ -257,10 +257,12 @@ for conf in $configs ; do
        echo "================== Build examples for $conf"
        export RTE_SDK=$(readlink -f $dir)/install/share/dpdk
        ln -sTf $(pwd)/lib $RTE_SDK/lib # workaround for vm_power_manager
+       grep -q 'SHARED_LIB=n' $dir/.config || # skip examples with static libs
        ${MAKE} -j$J -sC examples \
                EXTRA_LDFLAGS="$DPDK_DEP_LDFLAGS" $verbose \
                O=$(readlink -f $dir)/examples
        unset RTE_TARGET
+       grep -q 'SHARED_LIB=n' $dir/.config || # skip ABI check with static libs
        if [ -n "$DPDK_ABI_REF_VERSION" ]; then
                abirefdir=${DPDK_ABI_REF_DIR:-reference}/$DPDK_ABI_REF_VERSION
                if [ ! -d $abirefdir/$conf ]; then