From fd99f0f03fdee3fa0877be73740cb3a0e47f2070 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Fri, 20 Nov 2015 21:15:48 +0000 Subject: 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 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@47533 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/boot/uboot-mxs/patches/100-gcc-5-fix.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 package/boot/uboot-mxs/patches/100-gcc-5-fix.patch (limited to 'package/boot/uboot-mxs/patches/100-gcc-5-fix.patch') 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)); + -- cgit v1.2.3