ensure-config-sandbox-for-make-env
authorVagrant Cascadian <vagrant@debian.org>
Tue, 5 Dec 2017 23:43:23 +0000 (23:43 +0000)
committerVagrant Cascadian <vagrant@debian.org>
Tue, 5 Dec 2017 23:43:23 +0000 (23:43 +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 71c2ae3b3951aeb3ab5b3e4a72053a62cc4a03ce..c762f69898ef580bb001e7765e9232da9143c012 100644 (file)
@@ -76,6 +76,9 @@
 
 #define CONFIG_BOOTCOMMAND ""
 
+#ifndef CONFIG_SANDBOX
+#define CONFIG_SANDBOX 1
+#endif
 #include <config_distro_bootcmd.h>
 
 #define CONFIG_KEEP_SERVERADDR