Skip to contentSkip to conversation

tools: env: fix build error

PATCH New Masahiro Yamada 1 participant 1 message Dec 3, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tools: env: fix build error

Since CONFIG_SYS_ARCH, CONFIG_SYS_CPU, ... were moved to Kconfig, tools/env/fw_printenv fails to build if CONFIG_ENV_VARS_UBOOT_CONFIG is defined.
(I do not think this is the right way to fix the problem, but for now I do not have enough time to take a close look.)

---

 tools/env/fw_env.c | 3 +++
 1 file changed, 3 insertions(+)
tools/env/fw_env.c +3 -0
index 1173eea..698fe51 100644
@@ -8,6 +8,9 @@
  * SPDX-License-Identifier:	GPL-2.0+
  */
 
+/* FIXME: Do not include this */
+#include <linux/kconfig.h>
+
 #include <errno.h>
 #include <env_flags.h>
 #include <fcntl.h>
Signature · 1 line
1.9.1