![Jerzy Grzegorek](/assets/img/avatar_default.png)
Since the trailing slash is stripped from $($(PKG)_SITE) by pkg-generic.mk: $(call DOWNLOAD,$($(PKG)_SITE:/=)/$($(PKG)_SOURCE)) so it is redundant. This patch removes it from $(PKG)_SITE variable for BR consistency. Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
25 lines
619 B
Makefile
25 lines
619 B
Makefile
################################################################################
|
|
#
|
|
# dhrystone
|
|
#
|
|
################################################################################
|
|
|
|
DHRYSTONE_VERSION = 2
|
|
DHRYSTONE_SOURCE = dhry-c
|
|
DHRYSTONE_SITE = http://www.netlib.org/benchmark
|
|
|
|
define DHRYSTONE_EXTRACT_CMDS
|
|
(cd $(@D) && $(SHELL) $(DL_DIR)/$($(PKG)_SOURCE))
|
|
$(Q)cp package/dhrystone/Makefile $(@D)/
|
|
endef
|
|
|
|
define DHRYSTONE_BUILD_CMDS
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
|
|
endef
|
|
|
|
define DHRYSTONE_INSTALL_TARGET_CMDS
|
|
$(INSTALL) -D $(@D)/dhrystone $(TARGET_DIR)/usr/bin/dhrystone
|
|
endef
|
|
|
|
$(eval $(generic-package))
|