X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/d34b6e85e1b050de985b9834e6735f4a3daf2034..840c30e693f906b4aa54578f948ec10c32b36536:/target/linux/image/tgz.mk diff --git a/target/linux/image/tgz.mk b/target/linux/image/tgz.mk index 850f5a615..39adb6925 100644 --- a/target/linux/image/tgz.mk +++ b/target/linux/image/tgz.mk @@ -1,14 +1,3 @@ -$(KDIR)/vmlinux.gz: $(KDIR)/vmlinux - gzip -c -vf9 < $< > $@ - -$(KDIR)/rootfs.tar.gz: $(KDIR)/vmlinux.gz - tar -cf $(KDIR)/rootfs.tar --owner=root --group=root -C $(KDIR)/ ./vmlinux.gz - tar -rf $(KDIR)/rootfs.tar --owner=root --group=root -C $(KDIR)/root/ . - gzip -f9 $(KDIR)/rootfs.tar - -tgz-install: $(KDIR)/rootfs.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