ARM: Fix RTIC MP DTS failure for 32-bit target

Adding checks to ensure RTIC failure does not
cause kernel compilation to fail.

Change-Id: I07aba9607c1a8b7bc4da55e230896e69932d4c07
Signed-off-by: Preeti Nagar <pnagar@codeaurora.org>
This commit is contained in:
Preeti Nagar
2019-10-01 12:44:46 +05:30
committed by Gerrit - the friendly Code Review server
parent adc5c327bc
commit c34b1ec2dc

View File

@@ -422,5 +422,9 @@ fi
if [ ! -z ${RTIC_MPGEN+x} ]; then
${RTIC_MPGEN} --objcopy="${OBJCOPY}" --objdump="${OBJDUMP}" \
--binpath="" --vmlinux="vmlinux" --config=${KCONFIG_CONFIG} \
--cc="${CC} ${KBUILD_AFLAGS}" --dts=rtic_mp.dts
--cc="${CC} ${KBUILD_AFLAGS}" --dts=rtic_mp.dts \
|| echo “RTIC MP DTS generation has failed”
# Echo statement above prints the error message in case above
# RTIC MP DTS generation command fails and it ensures rtic mp
# failure does not cause kernel compilation to fail.
fi