ソースを参照

Minor cleanups. Use touch for stamp-files

Thiago A. Corrêa 17 年 前
コミット
e246dc1ef5
1 ファイル変更2 行追加2 行削除
  1. 2 2
      package/pciutils/pciutils.mk

+ 2 - 2
package/pciutils/pciutils.mk

@@ -26,13 +26,13 @@ $(PCIUTILS_DIR)/.unpacked: $(DL_DIR)/$(PCIUTILS_SOURCE) $(DL_DIR)/$(PCIIDS_SOURC
 	$(PCIUTILS_CAT) $(DL_DIR)/$(PCIUTILS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
 	$(PCIIDS_CAT) $(DL_DIR)/$(PCIIDS_SOURCE) > $(PCIUTILS_DIR)/pci.ids
 	toolchain/patch-kernel.sh $(PCIUTILS_DIR) package/pciutils pciutils\*.patch
-	touch $(PCIUTILS_DIR)/.unpacked
+	touch $@
 
 $(PCIUTILS_DIR)/.compiled: $(PCIUTILS_DIR)/.unpacked
 	$(MAKE1) CC=$(TARGET_CC) OPT="$(TARGET_CFLAGS)" -C $(PCIUTILS_DIR) \
 		SHAREDIR="/usr/share/misc" \
 		PREFIX=/usr
-	touch $(PCIUTILS_DIR)/.compiled
+	touch $@
 
 $(TARGET_DIR)/sbin/lspci: $(PCIUTILS_DIR)/.compiled
 	install -c $(PCIUTILS_DIR)/lspci $(TARGET_DIR)/sbin/lspci