From 8c4435190773195fc5d1a97f819e1160f4bd52ca Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 26 Feb 2023 00:14:19 +0100 Subject: [PATCH] boot/mxs-bootlets: fix build without any bootstream Fix the following build failure raised since the addition of the package in commit 2a636d15217cd326b4546e7017538c7a9e9d399c: sed -i 's,[^ *]power_prep.*;,\tpower_prep="/home/autobuild/autobuild/instance-9/output-1/build/mxs-bootlets-10.12.01/power_prep/power_prep";,' /home/autobuild/autobuild/instance-9/output-1/build/mxs-bootlets-10.12.01/ sed: couldn't edit /home/autobuild/autobuild/instance-9/output-1/build/mxs-bootlets-10.12.01/: not a regular file Fixes: - http://autobuild.buildroot.org/results/b4b26f6b02fd1991f46eba5db240e5050b96d333 Signed-off-by: Fabrice Fontaine Signed-off-by: Peter Korsgaard --- boot/mxs-bootlets/Config.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boot/mxs-bootlets/Config.in b/boot/mxs-bootlets/Config.in index b3e392afa8..8f9334b610 100644 --- a/boot/mxs-bootlets/Config.in +++ b/boot/mxs-bootlets/Config.in @@ -1,6 +1,8 @@ config BR2_TARGET_MXS_BOOTLETS bool "mxs-bootlets" depends on BR2_arm + depends on BR2_TARGET_BAREBOX || BR2_LINUX_KERNEL || \ + BR2_TARGET_UBOOT help Stage1 bootloaders for Freescale iMX23/iMX28 SoCs