netperf: use correct step override method
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
7d6e7bcc26
commit
b88c394685
@ -8,18 +8,16 @@ NETPERF_VERSION = 2.4.5
|
|||||||
NETPERF_SITE = ftp://ftp.netperf.org/netperf
|
NETPERF_SITE = ftp://ftp.netperf.org/netperf
|
||||||
NETPERF_CONF_ENV = ac_cv_func_setpgrp_void=set
|
NETPERF_CONF_ENV = ac_cv_func_setpgrp_void=set
|
||||||
|
|
||||||
$(eval $(call AUTOTARGETS,package,netperf))
|
define NETPERF_INSTALL_TARGET_CMDS
|
||||||
|
$(INSTALL) -m 0755 $(@D)/src/netperf \
|
||||||
$(NETPERF_TARGET_INSTALL_TARGET):
|
|
||||||
$(call MESSAGE,"Installing to target")
|
|
||||||
$(INSTALL) -m 0755 $(NETPERF_DIR)/src/netperf \
|
|
||||||
$(TARGET_DIR)/usr/bin/netperf
|
$(TARGET_DIR)/usr/bin/netperf
|
||||||
$(INSTALL) -m 0755 $(NETPERF_DIR)/src/netserver \
|
$(INSTALL) -m 0755 $(@D)/src/netserver \
|
||||||
$(TARGET_DIR)/usr/bin/netserver
|
$(TARGET_DIR)/usr/bin/netserver
|
||||||
touch $@
|
endef
|
||||||
|
|
||||||
$(NETPERF_TARGET_UNINSTALL):
|
define NETPERF_UNINSTALL_TARGET_CMDS
|
||||||
$(call MESSAGE,"Uninstalling")
|
|
||||||
rm -f $(TARGET_DIR)/usr/bin/netperf
|
rm -f $(TARGET_DIR)/usr/bin/netperf
|
||||||
rm -f $(TARGET_DIR)/usr/bin/netserver
|
rm -f $(TARGET_DIR)/usr/bin/netserver
|
||||||
rm -f $(NETPERF_TARGET_INSTALL_TARGET) $(NETPERF_HOOK_POST_INSTALL)
|
endef
|
||||||
|
|
||||||
|
$(eval $(call AUTOTARGETS,package,netperf))
|
||||||
|
Loading…
Reference in New Issue
Block a user