diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2015-11-20 21:15:48 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2015-11-20 21:15:48 +0000 |
commit | fd99f0f03fdee3fa0877be73740cb3a0e47f2070 (patch) | |
tree | e52ba573249e8aa2168ea126b5f0a8ab7935d904 /package/boot/uboot-mxs/patches/100-gcc-5-fix.patch | |
parent | 18b92bb9cbcfe0e3d6d562d5a5f5590927939947 (diff) | |
download | master-187ad058-fd99f0f03fdee3fa0877be73740cb3a0e47f2070.tar.gz master-187ad058-fd99f0f03fdee3fa0877be73740cb3a0e47f2070.tar.bz2 master-187ad058-fd99f0f03fdee3fa0877be73740cb3a0e47f2070.zip |
uboot-mxs: fix build with gcc-5
gcc-5 handles inline without static differently and that makes
uboot-mxs fail to build. Remove the inline so it gets exported and can
be used in other functions.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47533 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/boot/uboot-mxs/patches/100-gcc-5-fix.patch')
-rw-r--r-- | package/boot/uboot-mxs/patches/100-gcc-5-fix.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/package/boot/uboot-mxs/patches/100-gcc-5-fix.patch b/package/boot/uboot-mxs/patches/100-gcc-5-fix.patch new file mode 100644 index 0000000000..bec6ee72a6 --- /dev/null +++ b/package/boot/uboot-mxs/patches/100-gcc-5-fix.patch @@ -0,0 +1,11 @@ +--- a/arch/arm/cpu/arm926ejs/mxs/mxs.c ++++ b/arch/arm/cpu/arm926ejs/mxs/mxs.c +@@ -24,7 +24,7 @@ + DECLARE_GLOBAL_DATA_PTR; + + /* Lowlevel init isn't used on i.MX28, so just have a dummy here */ +-inline void lowlevel_init(void) {} ++void lowlevel_init(void) {} + + void reset_cpu(ulong ignored) __attribute__((noreturn)); + |