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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
# -*-makefile-*-
#
# Copyright (C) 2008 by Robert Schwebel <r.schwebel@pengutronix.de>
# 2009 by Marc Kleine-Budde <mkl@pengutronix.de>
#
# For further information about the PTXdist project and license conditions
# see the README file.
#
#
# We provide this package
#
PACKAGES-$(PTXCONF_LIBFFI) += libffi
#
# Paths and names
#
LIBFFI_VERSION := 3.2.1
LIBFFI_MD5 := 83b89587607e3eb65c70d361f13bab43
LIBFFI := libffi-$(LIBFFI_VERSION)
LIBFFI_SUFFIX := tar.gz
LIBFFI_SOURCE := $(SRCDIR)/$(LIBFFI).$(LIBFFI_SUFFIX)
LIBFFI_DIR := $(BUILDDIR)/$(LIBFFI)
LIBFFI_URL := \
http://ftp.gwdg.de/pub/linux/sources.redhat.com/libffi/$(LIBFFI).$(LIBFFI_SUFFIX) \
ftp://sourceware.org/pub/libffi/$(LIBFFI).$(LIBFFI_SUFFIX)
LIBFFI_LICENSE := MIT
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
LIBFFI_CONF_TOOL := autoconf
LIBFFI_CONF_OPT := \
$(CROSS_AUTOCONF_USR) \
--disable-static \
--enable-portable-binary \
--disable-pax_emutramp \
--disable-debug \
--enable-structs \
--enable-raw-api \
--disable-purify-safety \
--without-gcc-arch
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
$(STATEDIR)/libffi.targetinstall:
@$(call targetinfo)
@$(call install_init, libffi)
@$(call install_fixup, libffi,PRIORITY,optional)
@$(call install_fixup, libffi,SECTION,base)
@$(call install_fixup, libffi,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
@$(call install_fixup, libffi,DESCRIPTION,missing)
@$(call install_lib, libffi, 0, 0, 0644, libffi)
@$(call install_finish, libffi)
@$(call touch)
# vim: syntax=make
|