meta-digi-arm: fix linux kernel broken build with dash shell

Due to the use of a bashism (shopt).

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2013-03-04 15:37:18 +01:00
parent a344936238
commit 1226554932
1 changed files with 3 additions and 4 deletions

View File

@ -35,10 +35,9 @@ do_configure_prepend() {
sed -e "${CONF_SED_SCRIPT}" < '${WORKDIR}/defconfig' >> '${S}/.config'
shopt -s nullglob
for f in ${WORKDIR}/*.cfg;
do
cat $f >> '${S}/.config'
for i in $(echo ${WORKDIR}/*.cfg); do
[ "${i}" = "${WORKDIR}/*.cfg" ] && continue
cat ${i} >> '${S}/.config'
done
if [ "${SCMVERSION}" = "y" ]; then