summaryrefslogtreecommitdiffstats
path: root/target/linux/image/tgz.mk
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/image/tgz.mk')
-rw-r--r--target/linux/image/tgz.mk17
1 files changed, 3 insertions, 14 deletions
diff --git a/target/linux/image/tgz.mk b/target/linux/image/tgz.mk
index 506ab891a..39adb6925 100644
--- a/target/linux/image/tgz.mk
+++ b/target/linux/image/tgz.mk
@@ -1,14 +1,3 @@
-$(KDIR)/root.tar.gz: FORCE
- tar -zcf $@ --owner=root --group=root -C $(BUILD_DIR)/root/ .
-
-ifeq ($(BOARD),x86)
-install: tgz-install
-
-tgz-install: $(KDIR)/root.tar.gz
- $(MAKE) -C $(BOARD) install KERNEL="$(KERNEL)" FS="tgz"
-endif
-
-prepare-targets:
-compile-targets:
-install-targets: $(KDIR)/root.tar.gz
-
+define Image/mkfs/tgz
+ tar -zcf $(BIN_DIR)/openwrt-rootfs.tgz --owner=root --group=root -C $(BUILD_DIR)/root/ .
+endef