diff options
Diffstat (limited to 'meta/recipes-bsp/u-boot/u-boot-fw-utils/0001-tools-env-fix-build-error.patch')
-rw-r--r-- | meta/recipes-bsp/u-boot/u-boot-fw-utils/0001-tools-env-fix-build-error.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta/recipes-bsp/u-boot/u-boot-fw-utils/0001-tools-env-fix-build-error.patch b/meta/recipes-bsp/u-boot/u-boot-fw-utils/0001-tools-env-fix-build-error.patch new file mode 100644 index 0000000000..381b505d1e --- /dev/null +++ b/meta/recipes-bsp/u-boot/u-boot-fw-utils/0001-tools-env-fix-build-error.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | From ee2d75513452aa6d5306fd380104adc8a2f6d8f2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Masahiro Yamada <yamada.m@jp.panasonic.com> | ||
3 | Date: Wed, 3 Dec 2014 10:22:50 +0900 | ||
4 | Subject: [PATCH] tools: env: fix build error | ||
5 | |||
6 | Since CONFIG_SYS_ARCH, CONFIG_SYS_CPU, ... were moved to Kconfig, | ||
7 | tools/env/fw_printenv fails to build if CONFIG_ENV_VARS_UBOOT_CONFIG | ||
8 | is defined. | ||
9 | (I do not think this is the right way to fix the problem, but | ||
10 | for now I do not have enough time to take a close look.) | ||
11 | |||
12 | Upstream-Status: Submitted [http://patchwork.ozlabs.org/patch/417192/] | ||
13 | |||
14 | Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> | ||
15 | Reported-by: Denys Dmytriyenko <denys@ti.com> | ||
16 | --- | ||
17 | tools/env/fw_env.c | 3 +++ | ||
18 | 1 file changed, 3 insertions(+) | ||
19 | |||
20 | diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c | ||
21 | index 1173eea..698fe51 100644 | ||
22 | --- a/tools/env/fw_env.c | ||
23 | +++ b/tools/env/fw_env.c | ||
24 | @@ -8,6 +8,9 @@ | ||
25 | * SPDX-License-Identifier: GPL-2.0+ | ||
26 | */ | ||
27 | |||
28 | +/* FIXME: Do not include this */ | ||
29 | +#include <linux/kconfig.h> | ||
30 | + | ||
31 | #include <errno.h> | ||
32 | #include <env_flags.h> | ||
33 | #include <fcntl.h> | ||
34 | -- | ||
35 | 2.2.0 | ||
36 | |||