Skip to contentSkip to conversation

package/uboot-tools: bump to version 2015.07

PATCH New Jörg Krause 2 participants 2 messages Aug 4, 2015 – Aug 8, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/uboot-tools: bump to version 2015.07

Also:
- update patch #1
- remove patch #3 and #4 -> applied upstream

---
 .../uboot-tools/0001-drop-configh-from-tools.patch | 25 +++++++-
 package/uboot-tools/0003-Fix-musl-build.patch      | 71 ----------------------
 ...kg-config-when-available-to-get-SSL-flags.patch | 39 ------------
 package/uboot-tools/uboot-tools.hash               |  2 +-
 package/uboot-tools/uboot-tools.mk                 |  2 +-
 5 files changed, 24 insertions(+), 115 deletions(-)
 delete mode 100644 package/uboot-tools/0003-Fix-musl-build.patch
 delete mode 100644 package/uboot-tools/0004-tools-use-pkg-config-when-available-to-get-SSL-flags.patch
package/uboot-tools/0001-drop-configh-from-tools.patch +22 -3
index a36332f..e77a301 100644
@@ -1,18 +1,33 @@
+From 2e54434e4dd178773e8e11e48afc81299771f3e7 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?J=C3=B6rg=20Krause?= <[email protected]>
+Date: Tue, 4 Aug 2015 22:13:20 +0200
+Subject: [PATCH 1/1] drop configh from tools
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
 We need to build u-boot tools without a board configuration for the target.
 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 <[email protected]>
+[J?rg Krause: update for version 2015.07]
+Signed-off-by: J?rg Krause <[email protected]>
+---
+ tools/env/fw_env.h | 11 -----------
+ 1 file changed, 11 deletions(-)
 
 diff --git a/tools/env/fw_env.h b/tools/env/fw_env.h
-index aff471b..dfe7439 100644
+index 60c0517..1c5daaa 100644
 --- a/tools/env/fw_env.h
 +++ b/tools/env/fw_env.h
-@@ -5,14 +5,6 @@
+@@ -5,17 +5,6 @@
   * SPDX-License-Identifier:	GPL-2.0+
   */
  
 -/* Pull in the current config to define the default environment */
+-#include <linux/kconfig.h>
+-
 -#ifndef __ASSEMBLY__
 -#define __ASSEMBLY__ /* get only #defines from config.h */
 -#include <config.h>
@@ -20,6 +35,10 @@ index aff471b..dfe7439 100644
 -#else
 -#include <config.h>
 -#endif
- 
+-
  /*
   * To build the utility with the static configuration
+  * comment out the next line.
+-- 
+2.5.0
+
package/uboot-tools/0003-Fix-musl-build.patch deleted +0 -71

71 lines not on this page · raw message

package/uboot-tools/0004-tools-use-pkg-config-when-available-to-get-SSL-flags.patch deleted +0 -39
deleted file mode 100644
index 9eb7483..0000000
@@ -1,39 +0,0 @@
-From 99bc38ac6ebdd3b5d741cb9e50d842fa13d409f7 Mon Sep 17 00:00:00 2001
-From: Thomas Petazzoni <[email protected]>
-Date: Tue, 12 May 2015 22:54:29 +0200
-Subject: [PATCH] tools: use pkg-config when available to get SSL flags
-
-Instead of hardcoding -lssl -lcrypto as the flags needed to build
-mkimage with FIT signature enabled, use pkg-config when
-available. This allows to properly support cases where static linking
-is used, which requires linking with -lz, since OpenSSL uses zlib
-internally.
-
-We gracefully fallback on the previous behavior of hardcoding -lssl
--lcrypto if pkg-config is not available or fails with an error.
-
-Patch submitted upstream at
-http://lists.denx.de/pipermail/u-boot/2015-May/214489.html
-
-Signed-off-by: Thomas Petazzoni <[email protected]>
----
- tools/Makefile | 3 ++-
- 1 file changed, 2 insertions(+), 1 deletion(-)
-
-diff --git a/tools/Makefile b/tools/Makefile
-index 4bbb153..8ff9c2e 100644
---- a/tools/Makefile
-+++ b/tools/Makefile
-@@ -122,7 +122,8 @@ endif
- 
- # MXSImage needs LibSSL
- ifneq ($(CONFIG_MX23)$(CONFIG_MX28)$(CONFIG_FIT_SIGNATURE),)
--HOSTLOADLIBES_mkimage += -lssl -lcrypto
-+HOSTLOADLIBES_mkimage += \
-+	$(shell pkg-config --libs libssl libcrypto 2> /dev/null || echo "-lssl -lcrypto")
- endif
- 
- HOSTLOADLIBES_dumpimage := $(HOSTLOADLIBES_mkimage)
--- 
-2.1.0
-
package/uboot-tools/uboot-tools.hash +1 -1
index 9cc96f6..3b687d5 100644
@@ -1,2 +1,2 @@
 # Locally computed:
-sha256	0a1a70df586655f527befa6f12e184e96ed61b126e5a567382321b17200f5d60  u-boot-2015.04.tar.bz2
+sha256	0b48c9bd717f2c322ef791f8282e14c88be942dc7d1226df7e31a812a3af94d9  u-boot-2015.07.tar.bz2
package/uboot-tools/uboot-tools.mk +1 -1
index 3ae346e..5a239ab 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-UBOOT_TOOLS_VERSION = 2015.04
+UBOOT_TOOLS_VERSION = 2015.07
 UBOOT_TOOLS_SOURCE = u-boot-$(UBOOT_TOOLS_VERSION).tar.bz2
 UBOOT_TOOLS_SITE = ftp://ftp.denx.de/pub/u-boot
 UBOOT_TOOLS_LICENSE = GPLv2+
Signature · 1 line
2.5.0
#1 lore raw

PATCH 1/1 package/uboot-tools: bump to version 2015.07

Dear J?rg Krause,

Quoted 5 lines · J?rg Krause

Also:
- update patch #1
- remove patch #3 and #4 -> applied upstream

Quoted 9 lines
---
 .../uboot-tools/0001-drop-configh-from-tools.patch | 25 +++++++-
 package/uboot-tools/0003-Fix-musl-build.patch      | 71 ----------------------
 ...kg-config-when-available-to-get-SSL-flags.patch | 39 ------------
 package/uboot-tools/uboot-tools.hash               |  2 +-
 package/uboot-tools/uboot-tools.mk                 |  2 +-
 5 files changed, 24 insertions(+), 115 deletions(-)
 delete mode 100644 package/uboot-tools/0003-Fix-musl-build.patch
 delete mode 100644 package/uboot-tools/0004-tools-use-pkg-config-when-available-to-get-SSL-flags.patch

Applied to next, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com