ensure-config-sandbox-for-make-env
authorVagrant Cascadian <vagrant@debian.org>
Thu, 13 Feb 2020 06:29:38 +0000 (06:29 +0000)
committerVagrant Cascadian <vagrant@debian.org>
Thu, 13 Feb 2020 06:29:38 +0000 (06:29 +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 1c13055cdc05de306d167f88c645733ab4473925..acbefb18a1df3cb52cbc40ab024fe0f6aa551c27 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