From 8c2f22a37c8a70b4f1617e80a9ea04f0363e663e Mon Sep 17 00:00:00 2001 From: acoul Date: Mon, 28 Dec 2015 23:03:42 +0200 Subject: [PATCH] image/lzma-loader: preserve MIPS abiflags --- target/linux/generic/image/lzma-loader/src/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/generic/image/lzma-loader/src/Makefile b/target/linux/generic/image/lzma-loader/src/Makefile index 910172c4f8..7078768029 100644 --- a/target/linux/generic/image/lzma-loader/src/Makefile +++ b/target/linux/generic/image/lzma-loader/src/Makefile @@ -12,7 +12,7 @@ IMAGE_COPY:=0 CROSS_COMPILE = mips-linux- -OBJCOPY:= $(CROSS_COMPILE)objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -S +OBJCOPY:= $(CROSS_COMPILE)objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -R .MIPS.abiflags -S CFLAGS := -fno-builtin -Os -G 0 -ffunction-sections -mno-abicalls -fno-pic -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap -Wall -DRAMSTART=${RAMSTART} -DRAMSIZE=${RAMSIZE} -DKERNEL_ENTRY=${KERNEL_ENTRY} -D_LZMA_IN_CB ifeq ($(IMAGE_COPY),1) CFLAGS += -DLOADADDR=${LOADADDR} -DIMAGE_COPY=1 -- 2.35.1