702704014d
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
22 lines
626 B
Makefile
22 lines
626 B
Makefile
#############################################################
|
|
#
|
|
# yasm
|
|
#
|
|
#############################################################
|
|
|
|
YASM_VERSION = 1.2.0
|
|
YASM_SOURCE = yasm-$(YASM_VERSION).tar.gz
|
|
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))
|