Commit 3a24e038 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

vsftpd: create .configured stamp file



Ensures that the configure+make steps are not run every time.

Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent c3bb9c1c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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 $< $@