vsftpd: create .configured stamp file
authorPeter Korsgaard <jacmet@sunsite.dk>
Sat, 3 Oct 2009 20:47:22 +0000 (22:47 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sat, 3 Oct 2009 21:00:30 +0000 (23:00 +0200)
Ensures that the configure+make steps are not run every time.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/vsftpd/vsftpd.mk

index ed35d5f9222b1929d669809138bfe07d71025173..3b1d7eb444e40e46ae38667fb744d7fcc3e07ac4 100644 (file)
@@ -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 $< $@