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()
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