summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2008-12-04 16:43:54 +0000
committerHans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>2008-12-04 16:43:54 +0000
commit62cc77dffdd60900d8ed7511ad8319ef39092a6b (patch)
treeb8f7aa7f42d3d9ff9fa9c88255d8dd6ee920e4d9
parent30e43682dd8ad07a0f60f8035e28ab5c6d4ac466 (diff)
tslib: use more robust $@ when touching target instead of explisit name
-rw-r--r--package/tslib/tslib.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/tslib/tslib.mk b/package/tslib/tslib.mk
index 04e4cf665..0ff37c3f5 100644
--- a/package/tslib/tslib.mk
+++ b/package/tslib/tslib.mk
@@ -17,7 +17,7 @@ tslib-source: $(DL_DIR)/$(TSLIB_SOURCE)
$(TSLIB_DIR)/.patched: $(DL_DIR)/$(TSLIB_SOURCE)
$(TSLIB_CAT) $(DL_DIR)/$(TSLIB_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
toolchain/patch-kernel.sh $(TSLIB_DIR) package/tslib/ tslib\*.patch
- touch $(TSLIB_DIR)/.patched
+ touch $@
$(TSLIB_DIR)/.configured: $(TSLIB_DIR)/.patched
(cd $(TSLIB_DIR); rm -rf config.cache; ./autogen.sh)
@@ -47,11 +47,11 @@ $(TSLIB_DIR)/.configured: $(TSLIB_DIR)/.patched
--enable-input \
)
$(SED) 's:rpl\_malloc:malloc:g' $(TSLIB_DIR)/config.h
- touch $(TSLIB_DIR)/.configured
+ touch $@
$(TSLIB_DIR)/.compiled: $(TSLIB_DIR)/.configured
$(MAKE) -C $(TSLIB_DIR)
- touch $(TSLIB_DIR)/.compiled
+ touch $@
$(STAGING_DIR)/usr/lib/libts.so: $(TSLIB_DIR)/.compiled
$(MAKE) -C $(TSLIB_DIR) \