summaryrefslogtreecommitdiff
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
commit37f09b8129aadb8cba52c15446a31dfb59328e16 (patch)
tree536991a4bd22786074ec0ead4399d32bf43974f5 /tools/mkimage/patches/200-gcc5_compat.patch
parentb3f7902a0687dced523f49a0430757ac68f6467d (diff)
downloadmtk-20170518-37f09b8129aadb8cba52c15446a31dfb59328e16.zip
mtk-20170518-37f09b8129aadb8cba52c15446a31dfb59328e16.tar.gz
mtk-20170518-37f09b8129aadb8cba52c15446a31dfb59328e16.tar.bz2
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] SVN-Revision: 48542
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 4d55f00..3ae76a7 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
-