ensure-config-sandbox-for-make-env
authorVagrant Cascadian <vagrant@debian.org>
Tue, 14 May 2019 02:07:44 +0000 (03:07 +0100)
committerVagrant Cascadian <vagrant@debian.org>
Tue, 14 May 2019 02:07:44 +0000 (03:07 +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 e36a5fec0ef2244f4b5beb667f87330e5b60f434..db159ee94fc06e48fdb4b5d51bbadf33deac8a75 100644 (file)
@@ -63,6 +63,9 @@
        func(HOST, host, 1) \
        func(HOST, host, 0)
 
+#ifndef CONFIG_SANDBOX
+#define CONFIG_SANDBOX 1
+#endif
 #include <config_distro_bootcmd.h>
 
 #define CONFIG_KEEP_SERVERADDR