ensure-config-sandbox-for-make-env
authorVagrant Cascadian <vagrant@debian.org>
Fri, 28 Aug 2020 23:35:40 +0000 (00:35 +0100)
committerVagrant Cascadian <vagrant@debian.org>
Fri, 28 Aug 2020 23:35:40 +0000 (00:35 +0100)
Ensure that CONFIG_SANDBOX is set when running "make env", avoiding a
failure to build caused by config_distro_bootcmd.h following the wrong
codepath...

Gbp-Pq: Name ensure-config-sandbox-for-make-env.patch

include/configs/sandbox.h

index 2a81f3a9bc02e5024cd1b107918e42f119556256..467dc4fd97f3a22c8fa498f087c6e22f7b49ee74 100644 (file)
@@ -61,6 +61,9 @@
 #ifdef __ASSEMBLY__
 #define BOOTENV
 #else
+#ifndef CONFIG_SANDBOX
+#define CONFIG_SANDBOX 1
+#endif
 #include <config_distro_bootcmd.h>
 #endif