fixup machid workaround, generate uImage manually
[openwrt.git] / target / linux / adm5120 / image / lzma-loader / src / Makefile
index a553b7f..f23d040 100644 (file)
@@ -37,10 +37,10 @@ BIN_FLAGS   := -O binary -R .reginfo -R .note -R .comment -R .mdebug -S
 
 CFLAGS         = -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -Os \
                  -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic \
-                 -ffunction-sections -pipe -mlong-calls -fno-common \
-                 -ffreestanding \
+                 -ffunction-sections -pipe -mlong-calls -fno-common -ffreestanding \
+                 -fhonour-copts \
                  -mabi=32 -march=mips32 -Wa,-32 -Wa,-march=mips32 -Wa,-mips32 -Wa,--trap
-CFLAGS         += -DLOADADDR=$(LOADADDR)
+CFLAGS         += -DLOADADDR=$(LOADADDR) -D_LZMA_PROB32
 
 ASFLAGS                = $(CFLAGS) -D__ASSEMBLY__ -DLZMA_STARTUP_ORG=$(LZMA_STARTUP_ORG)
 
This page took 0.024776 seconds and 4 git commands to generate.