aboutsummaryrefslogtreecommitdiffstats
path: root/tools/mkimage/patches/110-fix_musl_build.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2018-04-14 23:00:12 +0200
committerHauke Mehrtens <hauke@hauke-m.de>2018-04-18 23:59:32 +0200
commitb13e981d72c14ba4c39f85f0d24a8f7947a1b2c4 (patch)
tree71760edb1ae1c3c1d704461e405d6fced0c4e206 /tools/mkimage/patches/110-fix_musl_build.patch
parent68150d3125447a40cf103aeefd9bcb6c874e6769 (diff)
downloadupstream-b13e981d72c14ba4c39f85f0d24a8f7947a1b2c4.tar.gz
upstream-b13e981d72c14ba4c39f85f0d24a8f7947a1b2c4.tar.bz2
upstream-b13e981d72c14ba4c39f85f0d24a8f7947a1b2c4.zip
tools/mkimage: update to version 2018.03
This activates support for fit images and some other new mkimage features. Some of the patches were applied upstream and could be removed. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to 'tools/mkimage/patches/110-fix_musl_build.patch')
-rw-r--r--tools/mkimage/patches/110-fix_musl_build.patch67
1 files changed, 0 insertions, 67 deletions
diff --git a/tools/mkimage/patches/110-fix_musl_build.patch b/tools/mkimage/patches/110-fix_musl_build.patch
deleted file mode 100644
index 13f7ab0431..0000000000
--- a/tools/mkimage/patches/110-fix_musl_build.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-From: Jörg Krause <joerg.krause@embedded.rocks>
-Date: Wed, 22 Apr 2015 19:36:22 +0000 (+0200)
-Subject: Fix musl build
-X-Git-Tag: v2015.07-rc2~281
-X-Git-Url: http://git.denx.de/?p=u-boot.git;a=commitdiff_plain;h=26e355d131a6b56ea78a156c1cee4f6ba0500b37;hp=1cdd9412002000aafcfb6f10cd02069adc66ba49
-
-Fix musl build
-
-This patch fixes cross-compiling U-Boot tools with the musl C library:
- * including <sys/types.h> is needed for ulong
- * defining _GNU_SOURCE is needed for loff_t
-
-Tested for target at91sam9261ek_dataflash_cs3.
-
-Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
-Cc: Tom Rini <trini@konsulko.com>
----
-
-diff --git a/include/image.h b/include/image.h
-index 3844be6..60b924a 100644
---- a/include/image.h
-+++ b/include/image.h
-@@ -23,6 +23,7 @@
- struct lmb;
-
- #ifdef USE_HOSTCC
-+#include <sys/types.h>
-
- /* new uImage format support enabled on host */
- #define CONFIG_FIT 1
-diff --git a/tools/env/fw_env.c b/tools/env/fw_env.c
-index 1173eea..daa02a7 100644
---- a/tools/env/fw_env.c
-+++ b/tools/env/fw_env.c
-@@ -8,6 +8,8 @@
- * SPDX-License-Identifier: GPL-2.0+
- */
-
-+#define _GNU_SOURCE
-+
- #include <errno.h>
- #include <env_flags.h>
- #include <fcntl.h>
-diff --git a/tools/imagetool.h b/tools/imagetool.h
-index 3e15b4e..b7874f4 100644
---- a/tools/imagetool.h
-+++ b/tools/imagetool.h
-@@ -16,6 +16,7 @@
- #include <stdlib.h>
- #include <string.h>
- #include <sys/stat.h>
-+#include <sys/types.h>
- #include <time.h>
- #include <unistd.h>
- #include <u-boot/sha1.h>
-diff --git a/tools/proftool.c b/tools/proftool.c
-index 3482951..9ce7a77 100644
---- a/tools/proftool.c
-+++ b/tools/proftool.c
-@@ -16,6 +16,7 @@
- #include <string.h>
- #include <unistd.h>
- #include <sys/param.h>
-+#include <sys/types.h>
-
- #include <compiler.h>
- #include <trace.h>