X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=devtools%2Fbuild-tags.sh;h=dc037f92b31931b2f9968082f1be0e426193b5ff;hb=refs%2Fheads%2Fdelay;hp=753e4c23c50e3a9959a61a7c51ab0f8037cfba9e;hpb=218c4e68c1d9bd4a9281bc1dc4d0ab89859083bf;p=dpdk.git diff --git a/devtools/build-tags.sh b/devtools/build-tags.sh index 753e4c23c5..dc037f92b3 100755 --- a/devtools/build-tags.sh +++ b/devtools/build-tags.sh @@ -68,11 +68,13 @@ common_sources() linux_sources() { find_sources "lib/librte_eal/linux" '*.[chS]' + find_sources "kernel/linux" '*.[chS]' } bsd_sources() { find_sources "lib/librte_eal/freebsd" '*.[chS]' + find_sources "kernel/freebsd" '*.[chS]' } arm_common() @@ -129,14 +131,7 @@ ppc_64_sources() check_valid_target() { - cfgfound=false - allconfigs=$(make showconfigs) - for cfg in $allconfigs ; do - if [ "$cfg" = "$1" ] ; then - cfgfound=true - fi - done - if ! $cfgfound ; then + if [ ! -f "config/defconfig_$1" ] ; then echo "Invalid config: $1" print_usage exit 0