tools/mkimage: backport gcc5 compatibility, patch
authorHauke Mehrtens <hauke@openwrt.org>
Tue, 19 May 2015 22:17:16 +0000 (22:17 +0000)
committerHauke Mehrtens <hauke@openwrt.org>
Tue, 19 May 2015 22:17:16 +0000 (22:17 +0000)
commitccff9140b711d2b250406b20fe36a5d6ab11639b
tree221ec6905ca46eccd9616791fd3afcc5460a61c8
parentc6e0a4d12324170960e244d6d8a2a9f5a26b3c3d
tools/mkimage: backport gcc5 compatibility, patch

Fedora 22 includes gcc5 by default
build leads to error:
include/linux/compiler-gcc.h:114:30: fatal error: linux/compiler-gcc5.h: No such file or directory

backport upstream patch: "Add linux/compiler-gcc5.h to fix builds with gcc5"
id: 478b02f1a7043b673565075ea5016376f3293b23

Issue was reported at
https://forum.openwrt.org/viewtopic.php?id=56853
& replicated in a VM

created, flashed and tested ar71xx image successfully
as test

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45703 3c298f89-4303-0410-b956-a3cf2f4a3e73
tools/mkimage/patches/200-gcc5_compat.patch [new file with mode: 0644]