fix annoying make parse error
[openwrt.git] / target / linux / image / tgz.mk
index f927ef9..39adb69 100644 (file)
@@ -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
This page took 0.022506 seconds and 4 git commands to generate.