From: acoul Date: Mon, 28 Dec 2015 21:03:42 +0000 (+0200) Subject: image/lzma-loader: preserve MIPS abiflags X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;h=8c2f22a37c8a70b4f1617e80a9ea04f0363e663e;p=openwrt-working-2016%2F.git image/lzma-loader: preserve MIPS abiflags --- 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