ensure-config-sandbox-for-make-env
authorVagrant Cascadian <vagrant@debian.org>
Mon, 2 Apr 2018 01:20:06 +0000 (02:20 +0100)
committerVagrant Cascadian <vagrant@debian.org>
Mon, 2 Apr 2018 01:20:06 +0000 (02:20 +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 2b902310f5c3ebfba124eec0ce727771f1aee0d8..f11204f8498e332484eec9fa7ba7e5e43a992209 100644 (file)
@@ -65,6 +65,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