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>
tirimbino
Preeti Nagar 5 years ago
parent 432c650468
commit 4129d7b54f
  1. 6
      scripts/link-vmlinux.sh

@ -463,7 +463,11 @@ 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
# We made a new kernel - delete old version file

Loading…
Cancel
Save