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