aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/mpc85xx/patches-4.14/103-powerpc-fix-build-cross32ar.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/mpc85xx/patches-4.14/103-powerpc-fix-build-cross32ar.patch b/target/linux/mpc85xx/patches-4.14/103-powerpc-fix-build-cross32ar.patch
new file mode 100644
index 0000000000..7ed52f649c
--- /dev/null
+++ b/target/linux/mpc85xx/patches-4.14/103-powerpc-fix-build-cross32ar.patch
@@ -0,0 +1,10 @@
+--- a/arch/powerpc/Makefile
++++ b/arch/powerpc/Makefile
+@@ -23,6 +23,7 @@ CROSS32AR := $(CROSS32_COMPILE)ar
+ ifeq ($(HAS_BIARCH),y)
+ ifeq ($(CROSS32_COMPILE),)
+ CROSS32CC := $(CC) -m32
++CROSS32AR := $(AR)
+ KBUILD_ARFLAGS += --target=elf32-powerpc
+ endif
+ endif