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:
parent
a344936238
commit
1226554932
|
|
@ -35,10 +35,9 @@ do_configure_prepend() {
|
||||||
|
|
||||||
sed -e "${CONF_SED_SCRIPT}" < '${WORKDIR}/defconfig' >> '${S}/.config'
|
sed -e "${CONF_SED_SCRIPT}" < '${WORKDIR}/defconfig' >> '${S}/.config'
|
||||||
|
|
||||||
shopt -s nullglob
|
for i in $(echo ${WORKDIR}/*.cfg); do
|
||||||
for f in ${WORKDIR}/*.cfg;
|
[ "${i}" = "${WORKDIR}/*.cfg" ] && continue
|
||||||
do
|
cat ${i} >> '${S}/.config'
|
||||||
cat $f >> '${S}/.config'
|
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ "${SCMVERSION}" = "y" ]; then
|
if [ "${SCMVERSION}" = "y" ]; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue