[meta-ti] Denys Dmytriyenko : setup-defconfig: support combined defconfig with listed config fragments

Francesco Del Degan f.deldegan at gmail.com
Fri Jan 9 01:58:10 PST 2015


Arago Project git <git at ...> writes:

> +    config=`cat ${S}/.config | grep config-fragment | cut -d= -f2`
> +    if [ -n "$config" ]
> +    then
> +        configfrags=""
> +        for f in $config
> +        do
> +            # Check if the config fragment is available
> +            if [ ! -e "$f" ]
> +            then
> +                echo "Could not find kernel config fragment $f"
> +                exit 1
> +            else
> +                # Sanitize config fragment files to be relative to 
sources
> +                configfrags+=" ${S}/$f"
> +            fi
> +        done
> +    fi
> +

Hi,

I think that configfrags+="..." here is a bashism. It fails on my builder 
with "configfrags+= ..... not found".

I resolved with configfrags="$configfrags ${S}/$f"

Cheers,
  Francesco




More information about the meta-ti mailing list