aboutsummaryrefslogtreecommitdiffstats
path: root/tools/mkimage/patches/200-gcc5_compat.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-28 22:42:44 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-28 22:42:44 +0000
commitce625bd5d2249bc1211116d83da0c2781e329b55 (patch)
tree122f995f034e8e883977e0857033efc9583dcba4 /tools/mkimage/patches/200-gcc5_compat.patch
parenta82f94f5a054ee733b1f9fa630f85ff938190e88 (diff)
downloadmaster-187ad058-ce625bd5d2249bc1211116d83da0c2781e329b55.tar.gz
master-187ad058-ce625bd5d2249bc1211116d83da0c2781e329b55.tar.bz2
master-187ad058-ce625bd5d2249bc1211116d83da0c2781e329b55.zip
tools/mkimage: backport SOURCE_DATE_EPOCH for reproducible builds
This pulls in Paul Kocialkowski's SOURCE_DATE_EPOCH support patch for u-boot, which landed upstream circa July 2015. Note that this "host" u-boot repo is only used to compile the 'mkimage' utility, and isn't used to actually compile a bootloader for any target. This patch could be removed if/when the host u-boot package is updated to a contemporary version (but there doesn't seem to be any motivation/need to do so). Signed-off-by: bryan newbold <bnewbold@robocracy.org> Signed-off-by: Felix Fietkau <nbd@openwrt.org> [fix portability error, refresh patches] git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48542 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/mkimage/patches/200-gcc5_compat.patch')
-rw-r--r--tools/mkimage/patches/200-gcc5_compat.patch6
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/mkimage/patches/200-gcc5_compat.patch b/tools/mkimage/patches/200-gcc5_compat.patch
index 4d55f00a4e..3ae76a7ff6 100644
--- a/tools/mkimage/patches/200-gcc5_compat.patch
+++ b/tools/mkimage/patches/200-gcc5_compat.patch
@@ -17,9 +17,6 @@ Signed-off-by: Hans de Goede <hdegoede@redhat.com>
1 file changed, 65 insertions(+)
create mode 100644 include/linux/compiler-gcc5.h
-diff --git a/include/linux/compiler-gcc5.h b/include/linux/compiler-gcc5.h
-new file mode 100644
-index 0000000..c8c5659
--- /dev/null
+++ b/include/linux/compiler-gcc5.h
@@ -0,0 +1,65 @@
@@ -88,6 +85,3 @@ index 0000000..c8c5659
+#define __HAVE_BUILTIN_BSWAP64__
+#define __HAVE_BUILTIN_BSWAP16__
+#endif /* CONFIG_ARCH_USE_BUILTIN_BSWAP */
---
-1.7.10.4
-