ensure-config-sandbox-for-make-env
authorVagrant Cascadian <vagrant@debian.org>
Wed, 26 Jan 2022 19:58:27 +0000 (19:58 +0000)
committerVagrant Cascadian <vagrant@debian.org>
Wed, 26 Jan 2022 19:58:27 +0000 (19:58 +0000)
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 d614b704715f53aebc274e28c309e71417289078..d9941c644df25a57b8f0ce7813cd3f001b82da18 100644 (file)
@@ -46,6 +46,9 @@
 #ifdef __ASSEMBLY__
 #define BOOTENV
 #else
+#ifndef CONFIG_SANDBOX
+#define CONFIG_SANDBOX 1
+#endif
 #include <config_distro_bootcmd.h>
 #endif