summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-10-03 22:47:22 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2009-10-03 23:00:30 +0200
commit3a24e0385b5c72348cf2c6d3792d98fe90b31605 (patch)
tree862b6915c9bd8483bbc7392d661d3712c2facfd5 /package
parentc3bb9c1cc4e86367ced83f9f7117541172f5570b (diff)
vsftpd: create .configured stamp file
Ensures that the configure+make steps are not run every time. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/vsftpd/vsftpd.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/vsftpd/vsftpd.mk b/package/vsftpd/vsftpd.mk
index ed35d5f92..3b1d7eb44 100644
--- a/package/vsftpd/vsftpd.mk
+++ b/package/vsftpd/vsftpd.mk
@@ -42,10 +42,12 @@ endif
else # not uclibc
$(SED) 's,.*__UCLIBC_.*,,g' $(VSFTPD_DIR)/builddefs.h
endif
+ touch $@
$(VSFTPD_DIR)/$(VSFTPD_BINARY): $(VSFTPD_DIR)/.configured
$(MAKE) CC=$(TARGET_CC) CFLAGS="$(TARGET_CFLAGS)" LIBS="$(VSFTPD_LIBS)" -C $(VSFTPD_DIR)
+ touch -c $@
$(TARGET_DIR)/$(VSFTPD_TARGET_BINARY): $(VSFTPD_DIR)/$(VSFTPD_BINARY)
cp -dpf $< $@