From 47a7a2771a728a1e89b8ea70d610c3670e783bf3 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Tue, 4 Sep 2012 03:55:23 +0000 Subject: u-boot: add version 2012.07 Signed-off-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- ...-tools-2012.04.01-drop-configh-from-tools.patch | 31 ---------------------- ...-tools-2012.04.01-hostcflags-override-fix.patch | 29 -------------------- ...oot-tools-2012.07-drop-configh-from-tools.patch | 31 ++++++++++++++++++++++ ...oot-tools-2012.07-hostcflags-override-fix.patch | 29 ++++++++++++++++++++ package/uboot-tools/uboot-tools.mk | 2 +- 5 files changed, 61 insertions(+), 61 deletions(-) delete mode 100644 package/uboot-tools/uboot-tools-2012.04.01-drop-configh-from-tools.patch delete mode 100644 package/uboot-tools/uboot-tools-2012.04.01-hostcflags-override-fix.patch create mode 100644 package/uboot-tools/uboot-tools-2012.07-drop-configh-from-tools.patch create mode 100644 package/uboot-tools/uboot-tools-2012.07-hostcflags-override-fix.patch (limited to 'package/uboot-tools') diff --git a/package/uboot-tools/uboot-tools-2012.04.01-drop-configh-from-tools.patch b/package/uboot-tools/uboot-tools-2012.04.01-drop-configh-from-tools.patch deleted file mode 100644 index 2b3a0e5d1..000000000 --- a/package/uboot-tools/uboot-tools-2012.04.01-drop-configh-from-tools.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 39857718f4df9b40a7acf38b73140fd86c628ef0 Mon Sep 17 00:00:00 2001 -From: Gustavo Zacarias -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 ---- - 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 -- - #define WHITESPACE(c) ((c == '\t') || (c == ' ')) - - #define min(x, y) ({ \ --- -1.7.3.4 - diff --git a/package/uboot-tools/uboot-tools-2012.04.01-hostcflags-override-fix.patch b/package/uboot-tools/uboot-tools-2012.04.01-hostcflags-override-fix.patch deleted file mode 100644 index 0202eda9b..000000000 --- a/package/uboot-tools/uboot-tools-2012.04.01-hostcflags-override-fix.patch +++ /dev/null @@ -1,29 +0,0 @@ -[PATCH] Fix tools build with custom HOSTCFLAGS - -We always need to append HOSTCPPFLAGS, even if HOSTCFLAGS have been -overridden on the cmdline. - -Signed-off-by: Peter Korsgaard ---- - config.mk | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -Index: u-boot-2011.03/config.mk -=================================================================== ---- u-boot-2011.03.orig/config.mk -+++ u-boot-2011.03/config.mk -@@ -46,10 +46,12 @@ - - ######################################################################### - --HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer \ -- $(HOSTCPPFLAGS) -+HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer - HOSTSTRIP = strip - -+# append CPPFLAGS even if CFLAGS has been overridden on cmdline -+override HOSTCFLAGS += $(HOSTCPPFLAGS) -+ - # - # Mac OS X / Darwin's C preprocessor is Apple specific. It - # generates numerous errors and warnings. We want to bypass it 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 +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 +--- + 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 +- + #define WHITESPACE(c) ((c == '\t') || (c == ' ')) + + #define min(x, y) ({ \ +-- +1.7.3.4 + diff --git a/package/uboot-tools/uboot-tools-2012.07-hostcflags-override-fix.patch b/package/uboot-tools/uboot-tools-2012.07-hostcflags-override-fix.patch new file mode 100644 index 000000000..0202eda9b --- /dev/null +++ b/package/uboot-tools/uboot-tools-2012.07-hostcflags-override-fix.patch @@ -0,0 +1,29 @@ +[PATCH] Fix tools build with custom HOSTCFLAGS + +We always need to append HOSTCPPFLAGS, even if HOSTCFLAGS have been +overridden on the cmdline. + +Signed-off-by: Peter Korsgaard +--- + config.mk | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +Index: u-boot-2011.03/config.mk +=================================================================== +--- u-boot-2011.03.orig/config.mk ++++ u-boot-2011.03/config.mk +@@ -46,10 +46,12 @@ + + ######################################################################### + +-HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer \ +- $(HOSTCPPFLAGS) ++HOSTCFLAGS = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer + HOSTSTRIP = strip + ++# append CPPFLAGS even if CFLAGS has been overridden on cmdline ++override HOSTCFLAGS += $(HOSTCPPFLAGS) ++ + # + # Mac OS X / Darwin's C preprocessor is Apple specific. It + # generates numerous errors and warnings. We want to bypass it diff --git a/package/uboot-tools/uboot-tools.mk b/package/uboot-tools/uboot-tools.mk index 53764f76f..7628b77b8 100644 --- a/package/uboot-tools/uboot-tools.mk +++ b/package/uboot-tools/uboot-tools.mk @@ -1,4 +1,4 @@ -UBOOT_TOOLS_VERSION = 2012.04.01 +UBOOT_TOOLS_VERSION = 2012.07 UBOOT_TOOLS_SOURCE = u-boot-$(UBOOT_TOOLS_VERSION).tar.bz2 UBOOT_TOOLS_SITE = ftp://ftp.denx.de/pub/u-boot -- cgit v1.2.3