blob: 02f5140c5bec7c6612e6c7ebc115f9204e2940a2 (
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
49
50
51
52
53
54
55
56
57
58
59
60
61
|
# -*-makefile-*-
#
# Copyright (C) 2011 by Michael Olbrich <m.olbrich@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
#
HOST_PACKAGES-$(PTXCONF_HOST_LIBELF) += host-libelf
#
# Paths and names
#
HOST_LIBELF_VERSION := 0.176
HOST_LIBELF_MD5 := 077e4f49320cad82bf17a997068b1db9
HOST_LIBELF := elfutils-$(HOST_LIBELF_VERSION)
HOST_LIBELF_SUFFIX := tar.bz2
HOST_LIBELF_URL := https://sourceware.org/elfutils/ftp/$(HOST_LIBELF_VERSION)/$(HOST_LIBELF).$(HOST_LIBELF_SUFFIX)
HOST_LIBELF_SOURCE := $(SRCDIR)/$(HOST_LIBELF).$(HOST_LIBELF_SUFFIX)
HOST_LIBELF_DIR := $(HOST_BUILDDIR)/$(HOST_LIBELF)
HOST_LIBELF_LICENSE := (LGPL-3.0-or-later OR GPL-2.0-or-later) AND GPL-3.0-or-later
# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
#
# autoconf
#
HOST_LIBELF_AUTOCONF := \
$(PTX_HOST_AUTOCONF) \
--enable-deterministic-archives \
--disable-thread-safety \
--disable-debugpred \
--disable-gprof \
--disable-gcov \
--disable-sanitize-undefined \
--disable-valgrind \
--disable-tests-rpath \
--enable-libebl-subdir=elfutils \
--enable-textrelcheck \
--enable-symbol-versioning \
--disable-nls \
--with-zlib \
--without-bzlib \
--with-lzma \
--without-biarch
ifdef PTXDIST_ICECC
LIBELF_CFLAGS := -C
endif
HOST_LIBELF_MAKE_OPT := -C libelf libelf.a
HOST_LIBELF_INSTALL_OPT := -C libelf install-data-am install-exec-am
# vim: syntax=make
|