Commit 7d93f102 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

httping: also pass configuration (SSL/TFO/DEBUG) doing make install

Fixes http://autobuild.buildroot.net/results/144e146ad3223748c4f06f884aeff93e8c0c2de3



When SSL is enabled (which it is by default) an extra source file is built,
so ensure the same configuration is used at 'make install' time as during
the build step.

Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent a391d2ed
Loading
Loading
Loading
Loading
+6 −5
Original line number Diff line number Diff line
@@ -10,16 +10,17 @@ HTTPING_SITE = http://www.vanheusden.com/httping
HTTPING_LICENSE = GPLv2
HTTPING_LICENSE_FILES = license.txt
HTTPING_DEPENDENCIES = $(if $(BR2_PACKAGE_OPENSSL),openssl)

define HTTPING_BUILD_CMDS
	$(MAKE) $(TARGET_CONFIGURE_OPTS) \
HTTPING_MAKE_OPT = $(TARGET_CONFIGURE_OPTS) \
	SSL=$(if $(BR2_PACKAGE_OPENSSL),yes,no) \
	TFO=$(if $(BR2_PACKAGE_HTTPING_TFO),yes,no) \
		DEBUG=no -C $(@D)
	DEBUG=no

define HTTPING_BUILD_CMDS
	$(MAKE) $(HTTPING_MAKE_OPT) -C $(@D)
endef

define HTTPING_INSTALL_TARGET_CMDS
	$(MAKE) DESTDIR=$(TARGET_DIR) -C $(@D) install
	$(MAKE) $(HTTPING_MAKE_OPT) DESTDIR=$(TARGET_DIR) -C $(@D) install
endef

define HTTPING_CLEAN_CMDS