c7f4b96471
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>
21 lines
621 B
Makefile
21 lines
621 B
Makefile
################################################################################
|
|
#
|
|
# yasm
|
|
#
|
|
################################################################################
|
|
|
|
YASM_VERSION = 1.2.0
|
|
YASM_SITE = http://www.tortall.net/projects/yasm/releases
|
|
|
|
define YASM_PRE_CONFIGURE_FIXUP
|
|
# This sed prevents it compiling 2 programs (vsyasm and ytasm)
|
|
# that are only of use on Microsoft Windows.
|
|
sed -i 's#) ytasm.*#)#' $(@D)/Makefile.in
|
|
endef
|
|
|
|
YASM_PRE_CONFIGURE_HOOKS += YASM_PRE_CONFIGURE_FIXUP
|
|
HOST_YASM_PRE_CONFIGURE_HOOKS += YASM_PRE_CONFIGURE_FIXUP
|
|
|
|
$(eval $(autotools-package))
|
|
$(eval $(host-autotools-package))
|