summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2009-10-03 20:47:22 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2009-10-03 21:00:30 (GMT)
commit3a24e0385b5c72348cf2c6d3792d98fe90b31605 (patch)
tree862b6915c9bd8483bbc7392d661d3712c2facfd5
parentc3bb9c1cc4e86367ced83f9f7117541172f5570b (diff)
downloadbuildroot-3a24e0385b5c72348cf2c6d3792d98fe90b31605.tar.gz
buildroot-3a24e0385b5c72348cf2c6d3792d98fe90b31605.tar.bz2
vsftpd: create .configured stamp file
Ensures that the configure+make steps are not run every time. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-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 ed35d5f..3b1d7eb 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 $< $@