ensure-config-sandbox-for-make-env
authorVagrant Cascadian <vagrant@debian.org>
Thu, 10 May 2018 20:24:57 +0000 (21:24 +0100)
committerVagrant Cascadian <vagrant@debian.org>
Thu, 10 May 2018 20:24:57 +0000 (21:24 +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 1a49d1dab55f5e42547f6f3df90450c576f63f8a..a8996c01579814e5ac9ac8a6e52b18009e0b6e7c 100644 (file)
@@ -64,6 +64,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