package/uboot-tools: bump to version 2019.04
authorPierre-Jean Texier <pjtexier@koncepto.io>
Fri, 21 Jun 2019 20:22:29 +0000 (22:22 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 21 Jun 2019 20:35:40 +0000 (22:35 +0200)
- 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>
package/uboot-tools/0001-drop-configh-from-tools.patch
package/uboot-tools/0004-tools-Makefile-build-host-tools-with-std-gnu99.patch [deleted file]
package/uboot-tools/0004-tools-Makefile-fix-HOSTCFLAGS-with-CROSS_BUILD_TOOLS.patch [new file with mode: 0644]
package/uboot-tools/0005-tools-Makefile-fix-HOSTCFLAGS-with-CROSS_BUILD_TOOLS.patch [deleted file]
package/uboot-tools/uboot-tools.hash
package/uboot-tools/uboot-tools.mk

index f19cebee40dce806c2764d1ae1946ceff77c18c7..59e5686ed00374153abf8b265adf3a80dc929cda 100644 (file)
@@ -1,4 +1,4 @@
-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
@@ -16,16 +16,18 @@ Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
 [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 */
diff --git a/package/uboot-tools/0004-tools-Makefile-build-host-tools-with-std-gnu99.patch b/package/uboot-tools/0004-tools-Makefile-build-host-tools-with-std-gnu99.patch
deleted file mode 100644 (file)
index 60ad37d..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-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
-
diff --git a/package/uboot-tools/0004-tools-Makefile-fix-HOSTCFLAGS-with-CROSS_BUILD_TOOLS.patch b/package/uboot-tools/0004-tools-Makefile-fix-HOSTCFLAGS-with-CROSS_BUILD_TOOLS.patch
new file mode 100644 (file)
index 0000000..5c54f4c
--- /dev/null
@@ -0,0 +1,28 @@
+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
+
diff --git a/package/uboot-tools/0005-tools-Makefile-fix-HOSTCFLAGS-with-CROSS_BUILD_TOOLS.patch b/package/uboot-tools/0005-tools-Makefile-fix-HOSTCFLAGS-with-CROSS_BUILD_TOOLS.patch
deleted file mode 100644 (file)
index 5c54f4c..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-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
-
index df2b8caf8958b1fde2faec3301d7f3db470c2753..9a92018235ee3b6acee8259130cd635528ee6129 100644 (file)
@@ -1,2 +1,2 @@
 # Locally computed:
-sha256  50bd7e5a466ab828914d080d5f6a432345b500e8fba1ad3b7b61e95e60d51c22  u-boot-2019.01.tar.bz2
+sha256  76b7772d156b3ddd7644c8a1736081e55b78828537ff714065d21dbade229bef  u-boot-2019.04.tar.bz2
index 61c70b7e7fca1af91e71b214db6d2901302d9234..ba6b6db13fd3354bac8465cac901ccb025b8eb3f 100644 (file)
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-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+