X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c689d8c49a7797500608d3512687facad0f2c31d..840c30e693f906b4aa54578f948ec10c32b36536:/target/linux/image/tgz.mk diff --git a/target/linux/image/tgz.mk b/target/linux/image/tgz.mk index 756d28b6a..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),soekris) -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