buildrootschalter/package/nasm/nasm.mk
Thomas Petazzoni 300f9c9c9d package: remove useless arguments from AUTOTARGETS
Thanks to the pkgparentdir and pkgname functions, we can rewrite the
AUTOTARGETS macro in a way that avoids the need for each package to
repeat its name and the directory in which it is present.

[Peter: pkgdir->pkgparentdir]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-29 23:12:27 +02:00

19 lines
686 B
Makefile

############################################################
#
# 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/
$(eval $(call AUTOTARGETS))
$(eval $(call AUTOTARGETS,host))