X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/7d84dbb69279d655f894db1999d537828dab72b3..ed8c341a6a0a86463d7d07422ff2b562297fe5b9:/target/linux/image/ar7/Makefile diff --git a/target/linux/image/ar7/Makefile b/target/linux/image/ar7/Makefile index 8bcd1bd54..0b7378785 100644 --- a/target/linux/image/ar7/Makefile +++ b/target/linux/image/ar7/Makefile @@ -27,6 +27,15 @@ $(PKG_BUILD_DIR)/ld.script: src/ld.script.in sed -e 's/@@OUTPUT_FORMAT@@/$(OUTPUT_FORMAT)/' \ -e 's/@@LOADADDR@@/$(LOADADDR)/' <$< >$@ +$(PKG_BUILD_DIR)/cksum.o: $(PKG_BUILD_DIR)/cksum.c + $(HOSTCC) -o $@ $< + +$(PKG_BUILD_DIR)/ckmain.o: $(PKG_BUILD_DIR)/ckmain.c + $(HOSTCC) -o $@ $< + +$(PKG_BUILD_DIR)/tichksum: $(PKG_BUILD_DIR)/ckmain.o $(PKG_BUILD_DIR)/cksum.o + $(HOSTCC) -o $@ $< + $(PKG_BUILD_DIR)/LzmaDecode.o: src/LzmaDecode.c $(TARGET_CC) $(CFLAGS) -c -o $@ $< @@ -78,6 +87,7 @@ $(eval $(call pattern_template,AG1B)) $(eval $(call pattern_template,WA22)) $(eval $(call pattern_template,WAG2)) $(eval $(call pattern_template,WA21)) +$(eval $(call pattern_template,WA31,-b)) $(eval $(call pattern_template,WA32,-b)) ifeq ($(IB),)