From 4129d7b54fc80122d0205baa17937f922d1d6015 Mon Sep 17 00:00:00 2001 From: Preeti Nagar Date: Tue, 1 Oct 2019 12:44:46 +0530 Subject: [PATCH] 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 --- scripts/link-vmlinux.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/link-vmlinux.sh b/scripts/link-vmlinux.sh index 15c3ea12e080..b608b598a8f2 100644 --- a/scripts/link-vmlinux.sh +++ b/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