Skip to content

Commit 96601b1

Browse files
Preeti NagarGerrit - the friendly Code Review server
Preeti Nagar
authored and
Gerrit - the friendly Code Review server
committed
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 <[email protected]>
1 parent c0cecf7 commit 96601b1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: scripts/link-vmlinux.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,11 @@ fi
463463
if [ ! -z ${RTIC_MPGEN+x} ]; then
464464
${RTIC_MPGEN} --objcopy="${OBJCOPY}" --objdump="${OBJDUMP}" \
465465
--binpath="" --vmlinux="vmlinux" --config=${KCONFIG_CONFIG} \
466-
--cc="${CC} ${KBUILD_AFLAGS}" --dts=rtic_mp.dts
466+
--cc="${CC} ${KBUILD_AFLAGS}" --dts=rtic_mp.dts \
467+
|| echo “RTIC MP DTS generation has failed”
468+
# Echo statement above prints the error message in case above
469+
# RTIC MP DTS generation command fails and it ensures rtic mp
470+
# failure does not cause kernel compilation to fail.
467471
fi
468472

469473
# We made a new kernel - delete old version file

0 commit comments

Comments
 (0)