X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/9d30652149fd745711342cec7ee8574e973ec241..be7d7ba951753a54971bd43aba957e33d7318c0d:/openwrt/target/jffs2/Makefile diff --git a/openwrt/target/jffs2/Makefile b/openwrt/target/jffs2/Makefile index ff63e6fc2..01dede7d7 100644 --- a/openwrt/target/jffs2/Makefile +++ b/openwrt/target/jffs2/Makefile @@ -12,14 +12,14 @@ clean: jffs2root-dirclean $(BIN_DIR)/openwrt-generic-jffs2-4MB.trx: $(MKFS_JFFS2) --pad --little-endian --squash -e 0x10000 \ -d $(TARGET_DIR) -o $(IMAGE)-4MB.jffs2 - PATH=$(TARGET_PATH) trx -o $@ \ - $(LINUX_KERNEL) -a 0x10000 $(IMAGE)-4MB.jffs2 + PATH=$(TARGET_PATH) trx -o $@ $(BUILD_DIR)/loader.gz \ + $(LINUX_IMAGE) -a 0x10000 $(IMAGE)-4MB.jffs2 $(BIN_DIR)/openwrt-generic-jffs2-8MB.trx: $(MKFS_JFFS2) --pad --little-endian --squash -e 0x20000 \ -d $(TARGET_DIR) -o $(IMAGE)-8MB.jffs2 - PATH=$(TARGET_PATH) trx -o $@ \ - $(LINUX_KERNEL) -a 0x20000 $(IMAGE)-8MB.jffs2 + PATH=$(TARGET_PATH) trx -o $@ $(BUILD_DIR)/loader.gz \ + $(LINUX_IMAGE) -a 0x20000 $(IMAGE)-8MB.jffs2 $(BIN_DIR)/openwrt-wrt54g-jffs2.bin: $(BIN_DIR)/openwrt-generic-jffs2-4MB.trx PATH=$(TARGET_PATH) addpattern -2 -i $< -o $@ -g