From: Ulf Samuelsson Date: Sun, 23 Sep 2007 14:21:39 +0000 (-0000) Subject: Avoid repeated remake of dialog X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6961522372daad4d072d05231b378d09142c3851;p=buildroot.git Avoid repeated remake of dialog --- diff --git a/package/dialog/dialog.mk b/package/dialog/dialog.mk index e2c5f55b3a..731f4faa7a 100644 --- a/package/dialog/dialog.mk +++ b/package/dialog/dialog.mk @@ -13,7 +13,7 @@ DIALOG_TARGET_BINARY:=usr/bin/dialog $(DL_DIR)/$(DIALOG_SOURCE): $(WGET) -P $(DL_DIR) $(DIALOG_SITE)/$(DIALOG_SOURCE) -$(DIALOG_DIR)/.source: $(DL_DIR)/$(DIALOG_SOURCE) $(DL_DIR)/$(DIALOG_PATCH1) +$(DIALOG_DIR)/.source: $(DL_DIR)/$(DIALOG_SOURCE) $(ZCAT) $(DL_DIR)/$(DIALOG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) - touch $@ @@ -32,6 +32,7 @@ $(DIALOG_DIR)/.configured: $(DIALOG_DIR)/.source $(DIALOG_DIR)/$(DIALOG_BINARY): $(DIALOG_DIR)/.configured $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(DIALOG_DIR) + touch -c $@ $(TARGET_DIR)/$(DIALOG_TARGET_BINARY): $(DIALOG_DIR)/$(DIALOG_BINARY) $(MAKE) prefix=$(TARGET_DIR)/usr \