X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/85e741f25f8496ba7b99e1fbb8d881585d1d6baf..e813f121f9fc43c71f43d384731f43e39fda6fd2:/openwrt/target/squashfs/squashfsroot.mk diff --git a/openwrt/target/squashfs/squashfsroot.mk b/openwrt/target/squashfs/squashfsroot.mk index fce71643f..d3a104a83 100644 --- a/openwrt/target/squashfs/squashfsroot.mk +++ b/openwrt/target/squashfs/squashfsroot.mk @@ -48,13 +48,7 @@ squashfsroot-clean: squashfsroot-dirclean: rm -rf $(SQUASHFS_DIR) -openwrt-linux.trx.squashfs: - $(BUILD_DIR)/trx -o openwrt-linux.trx.squashfs $(LINUX_DIR)/$(LINUX_BINLOC) $(IMAGE).squashfs - -openwrt-gs-code.bin.squashfs: openwrt-linux.trx.squashfs - $(BUILD_DIR)/addpattern -2 -i openwrt-linux.trx.squashfs -o openwrt-gs-code.bin.squashfs -g - -openwrt-g-code.bin.squashfs: openwrt-gs-code.bin.squashfs - sed -e "1s,^W54S,W54G," < openwrt-gs-code.bin.squashfs > openwrt-g-code.bin.squashfs - -openwrt-image-squashfs: openwrt-g-code.bin.squashfs +ifeq ($(strip $(BR2_TARGET_ROOTFS_SQUASHFS)),y) +TARGETS+=squashfsroot openwrt-image +ROOTFS=squashfs +endif