summaryrefslogtreecommitdiffstats
path: root/package/nasm/nasm.mk
blob: 08983e158200e15fb3ecc2b9a729fbbd76ce7311 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
############################################################
#
# nasm
#
# This is special case: nasm is used to build syslinux and
# pxelinux. As these are for the target, we should cross-compile
# nasm. However, as nasm is x86-only, there's no point in
# cross-compiling it. So we just build it for the host. The target
# variant is only provided because of a bug in the package
# infrastructure that prevents having only a host variant.
############################################################

NASM_VERSION=2.08.01
NASM_SOURCE=nasm-$(NASM_VERSION).tar.bz2
NASM_SITE=http://www.nasm.us/pub/nasm/releasebuilds/2.08.01/
NASM_LIBTOOL_PATCH=NO

$(eval $(call AUTOTARGETS,package,nasm))
$(eval $(call AUTOTARGETS,package,nasm,host))