ensure-config-sandbox-for-make-env
authorVagrant Cascadian <vagrant@debian.org>
Tue, 5 Jan 2021 03:59:11 +0000 (03:59 +0000)
committerVagrant Cascadian <vagrant@debian.org>
Tue, 5 Jan 2021 03:59:11 +0000 (03:59 +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 5554313810c60a5ae2610112ca04112e6250e7f2..b790023701c040bdc9adf1b8cb154615519da6cd 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