summaryrefslogtreecommitdiff
path: root/package/uboot-tools/uboot-tools-2012.07-drop-configh-from-tools.patch
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2012-09-04 03:55:23 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-09-20 22:26:46 +0200
commit47a7a2771a728a1e89b8ea70d610c3670e783bf3 (patch)
tree87b9a8566794a9b38ff75265f4cca81550a387cc /package/uboot-tools/uboot-tools-2012.07-drop-configh-from-tools.patch
parent218497de42c8f3205ea631ad7250d2b61d30b2f9 (diff)
u-boot: add version 2012.07
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/uboot-tools/uboot-tools-2012.07-drop-configh-from-tools.patch')
-rw-r--r--package/uboot-tools/uboot-tools-2012.07-drop-configh-from-tools.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/package/uboot-tools/uboot-tools-2012.07-drop-configh-from-tools.patch b/package/uboot-tools/uboot-tools-2012.07-drop-configh-from-tools.patch
new file mode 100644
index 000000000..2b3a0e5d1
--- /dev/null
+++ b/package/uboot-tools/uboot-tools-2012.07-drop-configh-from-tools.patch
@@ -0,0 +1,31 @@
+From 39857718f4df9b40a7acf38b73140fd86c628ef0 Mon Sep 17 00:00:00 2001
+From: Gustavo Zacarias <gustavo@zacarias.com.ar>
+Date: Mon, 30 Apr 2012 09:07:38 -0300
+Subject: [PATCH] fw_env: allow it to build without a config
+
+We need to build u-boot tools without a board configuration for the
+target packages.
+fw_env just uses config.h to define the default environment of the
+created image, so it really isn't mandatory.
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+---
+ tools/env/fw_env.c | 2 --
+ 1 files changed, 0 insertions(+), 2 deletions(-)
+
+diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c
+index e292d2b..2bb061a 100644
+--- a/tools/env/fw_env.c
++++ b/tools/env/fw_env.c
+@@ -45,8 +45,6 @@
+
+ #include "fw_env.h"
+
+-#include <config.h>
+-
+ #define WHITESPACE(c) ((c == '\t') || (c == ' '))
+
+ #define min(x, y) ({ \
+--
+1.7.3.4
+