cleanup; replace .PHONY with FORCE; disable gdb by default
[openwrt.git] / target / linux / image / tgz.mk
index 544aeae..506ab89 100644 (file)
@@ -1,9 +1,14 @@
-$(KDIR)/root.tar.gz:
-       tar -zcf $@ --owner=root --group=root -C $(KDIR)/root/ .
+$(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"
 
 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
 
 
-prepare:
-compile:
-install: tgz-install
This page took 0.021757 seconds and 4 git commands to generate.