ensure-config-sandbox-for-make-env
authorVagrant Cascadian <vagrant@debian.org>
Fri, 22 Jan 2021 04:36:56 +0000 (04:36 +0000)
committerVagrant Cascadian <vagrant@debian.org>
Fri, 22 Jan 2021 04:36:56 +0000 (04:36 +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 e0708fe57395ed2e081c48a500905b3a8e731b06..e82f8f257d8b79c330ccb4f028f19d0e5cfc7c1d 100644 (file)
@@ -64,6 +64,9 @@
 #ifdef __ASSEMBLY__
 #define BOOTENV
 #else
+#ifndef CONFIG_SANDBOX
+#define CONFIG_SANDBOX 1
+#endif
 #include <config_distro_bootcmd.h>
 #endif