From: Masahiro Yamada Date: Wed, 3 Dec 2014 10:22:50 +0900 Subject: [U-Boot] [PATCH] tools: env: fix build error Message-ID: <1417569770-6125-1-git-send-email-yamada.m@jp.panasonic.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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.) Signed-off-by: Masahiro Yamada Reported-by: Denys Dmytriyenko --- tools/env/fw_env.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c index 1173eea..698fe51 100644 --- a/tools/env/fw_env.c +++ b/tools/env/fw_env.c @@ -8,6 +8,9 @@ * SPDX-License-Identifier: GPL-2.0+ */ +/* FIXME: Do not include this */ +#include + #include #include #include -- 1.9.1