summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/u-boot/u-boot-mkimage/0001-Drop-config.h-include-in-tools-imximage.h.patch
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2011-12-11 14:47:37 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-12-13 12:28:12 +0000
commit3994ad0c34b773b4887f1e6396ef86218a0e5c60 (patch)
tree9505047c889fe1cbcb8b1ea61e9bd0e9035e341f /meta/recipes-bsp/u-boot/u-boot-mkimage/0001-Drop-config.h-include-in-tools-imximage.h.patch
parent23f1ede0a175bed2bf6c3bfee4237852c186359a (diff)
downloadpoky-3994ad0c34b773b4887f1e6396ef86218a0e5c60.tar.gz
u-boot: renamed dir from uboot to the more appropriate u-boot
recipe dirs normally have the name of the (main) package and the official name is u-boot (From OE-Core rev: e9899d52ade2181bd97dcf79bec64650e8b0f718) Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/u-boot/u-boot-mkimage/0001-Drop-config.h-include-in-tools-imximage.h.patch')
-rw-r--r--meta/recipes-bsp/u-boot/u-boot-mkimage/0001-Drop-config.h-include-in-tools-imximage.h.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/meta/recipes-bsp/u-boot/u-boot-mkimage/0001-Drop-config.h-include-in-tools-imximage.h.patch b/meta/recipes-bsp/u-boot/u-boot-mkimage/0001-Drop-config.h-include-in-tools-imximage.h.patch
new file mode 100644
index 0000000000..0405834698
--- /dev/null
+++ b/meta/recipes-bsp/u-boot/u-boot-mkimage/0001-Drop-config.h-include-in-tools-imximage.h.patch
@@ -0,0 +1,39 @@
1From ce56e089ddb51dbd81bb2c86b1646d77447afe39 Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Lo=C3=AFc=20Minier?= <loic.minier@linaro.org>
3Date: Thu, 3 Feb 2011 15:07:01 +0100
4Subject: Drop config.h include in tools/imximage.h
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Upstream-Status: Accepted
10
11"make tools-all" should allow building tools such as mkimage and the new
12imximage without any config, but imximage.c currently fails to build
13with:
14imximage.h:27:20: error: config.h: No such file or directory
15
16config.h is not needed in imximage.h nor in imximage.c, and imximage.h
17is only included from imximage.c, so drop this include to fix the build.
18
19Signed-off-by: Loïc Minier <loic.minier@linaro.org>
20---
21 tools/imximage.h | 2 --
22 1 files changed, 0 insertions(+), 2 deletions(-)
23
24diff --git a/tools/imximage.h b/tools/imximage.h
25index 38ca6be..d126a46 100644
26--- a/tools/imximage.h
27+++ b/tools/imximage.h
28@@ -24,8 +24,6 @@
29 #ifndef _IMXIMAGE_H_
30 #define _IMXIMAGE_H_
31
32-#include <config.h>
33-
34 #define MAX_HW_CFG_SIZE_V2 121 /* Max number of registers imx can set for v2 */
35 #define MAX_HW_CFG_SIZE_V1 60 /* Max number of registers imx can set for v1 */
36 #define APP_CODE_BARKER 0xB1
37--
381.7.4.4
39