blob: 0c4751161ae021ca2b96fc02a47458113850a98a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
# -*-makefile-*-
#
# Copyright (C) 2003 by Dan Kegel http://kegel.com
# 2006-2009 by Marc Kleine-Bude <mkl@pengutronix.de>
#
# See CREDITS for details about who has contributed to this project.
#
# For further information about the PTXdist project and license conditions
# see the README file.
#
#
# We provide this package
#
CROSS_PACKAGES-$(PTXCONF_ARCH_X86)-$(PTXCONF_CROSS_NASM) += cross-nasm
#
# Paths and names
#
CROSS_NASM_VERSION := 2.07
CROSS_NASM := nasm-$(CROSS_NASM_VERSION)
CROSS_NASM_SUFFIX := tar.bz2
CROSS_NASM_URL := $(PTXCONF_SETUP_SFMIRROR)/nasm/$(CROSS_NASM).$(CROSS_NASM_SUFFIX)
CROSS_NASM_SOURCE := $(SRCDIR)/$(CROSS_NASM).$(CROSS_NASM_SUFFIX)
CROSS_NASM_DIR := $(CROSS_BUILDDIR)/$(CROSS_NASM)
# ----------------------------------------------------------------------------
# Get
# ----------------------------------------------------------------------------
$(CROSS_NASM_SOURCE):
@$(call targetinfo)
@$(call get, CROSS_NASM)
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
CROSS_NASM_ENV := $(HOST_ENV)
#
# autoconf
#
CROSS_NASM_AUTOCONF := \
--prefix=$(PTXCONF_SYSROOT_CROSS) \
--target=$(PTXCONF_GNU_TARGET)
# vim: syntax=make
|