X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/2cbdc21c76a2c08690b7c3463231c6319827713c..913e6c00af52c2f3821885368653fc2696f8cba6:/target/linux/image/tgz.mk diff --git a/target/linux/image/tgz.mk b/target/linux/image/tgz.mk index 544aeae5c..39adb6925 100644 --- a/target/linux/image/tgz.mk +++ b/target/linux/image/tgz.mk @@ -1,9 +1,3 @@ -$(KDIR)/root.tar.gz: - tar -zcf $@ --owner=root --group=root -C $(KDIR)/root/ . - -tgz-install: $(KDIR)/root.tar.gz - $(MAKE) -C $(BOARD) install KERNEL="$(KERNEL)" FS="tgz" - -prepare: -compile: -install: tgz-install +define Image/mkfs/tgz + tar -zcf $(BIN_DIR)/openwrt-rootfs.tgz --owner=root --group=root -C $(BUILD_DIR)/root/ . +endef