- Bump to version 2019.04.
- remove the patch that have been upstreamed.
- Refresh patches for the new version.
Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-From 216832de3bc3e6ef093305c6d07f464f7606f2d6 Mon Sep 17 00:00:00 2001
+From ab8b54cfc9d3fddba297c343a2d8dea9dbe20017 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause@embedded.rocks>
Date: Tue, 4 Aug 2015 22:13:20 +0200
Subject: [PATCH] drop configh from tools
[Romain: update for version 2017.05
after commit 9d80b49a671c9922931adcd823aab0ed319a42d1]
Signed-off-by: Romain Naour <romain.naour@gmail.com>
+[Pierre-Jean: update for version 2019.04]
+Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
---
tools/env/fw_env_private.h | 11 -----------
1 file changed, 11 deletions(-)
diff --git a/tools/env/fw_env_private.h b/tools/env/fw_env_private.h
-index 0c27da0..e550463 100644
+index 86be16d..3c62ac4 100644
--- a/tools/env/fw_env_private.h
+++ b/tools/env/fw_env_private.h
-@@ -5,17 +5,6 @@
- * SPDX-License-Identifier: GPL-2.0+
+@@ -4,17 +4,6 @@
+ * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
-/* Pull in the current config to define the default environment */
+++ /dev/null
-From aaabed350ec51f7bb9a07290ffb3ce6e794c8f22 Mon Sep 17 00:00:00 2001
-From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-Date: Tue, 19 Mar 2019 23:01:50 +0100
-Subject: [PATCH] tools/Makefile: build host tools with -std=gnu99
-
-Parts of the code are using C99 constructs (such as variables declared
-inside loops), but also GNU extensions (such as typeof), so using
--std=gnu99 is necessary to build with older versions of gcc that don't
-default to building with gnu99.
-
-It fixes the following build failure:
-
-./tools/../lib/crc16.c: In function "crc16_ccitt":
-./tools/../lib/crc16.c:70:2: error: "for" loop initial declarations are only allowed in C99 mode
- for (int i = 0; i < len; i++)
- ^
-./tools/../lib/crc16.c:70:2: note: use option -std=c99 or -std=gnu99 to compile your code
-
-when building the host tools with gcc 4.7.
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
----
- tools/Makefile | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/tools/Makefile b/tools/Makefile
-index 081383d7a7..d377d85f74 100644
---- a/tools/Makefile
-+++ b/tools/Makefile
-@@ -254,7 +254,8 @@ HOST_EXTRACFLAGS += -include $(srctree)/include/compiler.h \
- -I$(srctree)/tools \
- -DUSE_HOSTCC \
- -D__KERNEL_STRICT_NAMES \
-- -D_GNU_SOURCE
-+ -D_GNU_SOURCE \
-+ -std=gnu99
-
- __build: $(LOGO-y)
-
---
-2.20.1
-
--- /dev/null
+From 9f2dce5887bb52e8c7f9ef40a6733d70af72ff1c Mon Sep 17 00:00:00 2001
+From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+Date: Tue, 30 Apr 2019 18:45:17 +0200
+Subject: [PATCH] tools/Makefile: fix HOSTCFLAGS with CROSS_BUILD_TOOLS
+
+When CROSS_BUILD_TOOLS is set, set HOSTCFLAGS to CFLAGS otherwise CC
+will be used with HOSTCFLAGS which seems wrong
+
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+---
+ tools/Makefile | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/tools/Makefile b/tools/Makefile
+index 12a3027e23..eadeba417d 100644
+--- a/tools/Makefile
++++ b/tools/Makefile
+@@ -272,6 +272,7 @@ subdir- += env
+
+ ifneq ($(CROSS_BUILD_TOOLS),)
+ override HOSTCC = $(CC)
++override HOSTCFLAGS = $(CFLAGS)
+
+ quiet_cmd_crosstools_strip = STRIP $^
+ cmd_crosstools_strip = $(STRIP) $^; touch $@
+--
+2.20.1
+
+++ /dev/null
-From 9f2dce5887bb52e8c7f9ef40a6733d70af72ff1c Mon Sep 17 00:00:00 2001
-From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
-Date: Tue, 30 Apr 2019 18:45:17 +0200
-Subject: [PATCH] tools/Makefile: fix HOSTCFLAGS with CROSS_BUILD_TOOLS
-
-When CROSS_BUILD_TOOLS is set, set HOSTCFLAGS to CFLAGS otherwise CC
-will be used with HOSTCFLAGS which seems wrong
-
-Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
----
- tools/Makefile | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/tools/Makefile b/tools/Makefile
-index 12a3027e23..eadeba417d 100644
---- a/tools/Makefile
-+++ b/tools/Makefile
-@@ -272,6 +272,7 @@ subdir- += env
-
- ifneq ($(CROSS_BUILD_TOOLS),)
- override HOSTCC = $(CC)
-+override HOSTCFLAGS = $(CFLAGS)
-
- quiet_cmd_crosstools_strip = STRIP $^
- cmd_crosstools_strip = $(STRIP) $^; touch $@
---
-2.20.1
-
# Locally computed:
-sha256 50bd7e5a466ab828914d080d5f6a432345b500e8fba1ad3b7b61e95e60d51c22 u-boot-2019.01.tar.bz2
+sha256 76b7772d156b3ddd7644c8a1736081e55b78828537ff714065d21dbade229bef u-boot-2019.04.tar.bz2
#
################################################################################
-UBOOT_TOOLS_VERSION = 2019.01
+UBOOT_TOOLS_VERSION = 2019.04
UBOOT_TOOLS_SOURCE = u-boot-$(UBOOT_TOOLS_VERSION).tar.bz2
UBOOT_TOOLS_SITE = ftp://ftp.denx.de/pub/u-boot
UBOOT_TOOLS_LICENSE = GPL-2.0+