From 840aa6b68e3bcc76f449b9c87e1ac0c8419cf49c Mon Sep 17 00:00:00 2001 From: mntmn <lukas@mntmn.com> Date: Tue, 2 Jun 2020 00:25:23 +0200 Subject: [PATCH] via erlehmann: Explain why stdout to stderr redirect is necessary for make invocation --- reform2-imx8mq/default.imx8mq-mnt-reform2.dtb.do | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reform2-imx8mq/default.imx8mq-mnt-reform2.dtb.do b/reform2-imx8mq/default.imx8mq-mnt-reform2.dtb.do index 137348b..3fde6c2 100644 --- a/reform2-imx8mq/default.imx8mq-mnt-reform2.dtb.do +++ b/reform2-imx8mq/default.imx8mq-mnt-reform2.dtb.do @@ -44,6 +44,10 @@ redo "${LINUX_D}"/arch/arm64/boot/dts/freescale/imx8mq.dtsi git apply "${PATCHFILE}" done + # By default, make writes diagnostic messages to standard out, not + # standard error. Therefore we redirect stdout to stderr for make, + # as redo would write anything on stdout to the resulting target … + >&2 make -j "$(nproc)" freescale/imx8mq-mnt-reform2.dtb ) -- GitLab