summaryrefslogtreecommitdiffstats
path: root/package/elf2flt/elf2flt.mk
blob: ce40f8d395a8bd24ab59db3c889b4787e771dbf4 (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
################################################################################
#
# elf2flt
#
################################################################################

ELF2FLT_VERSION = 20130904
ELF2FLT_SITE = cvs://cvs.uclinux.org:/var/cvs
ELF2FLT_SITE_METHOD = cvs
ELF2FLT_LICENSE = GPLv2+
ELF2FLT_LICENSE_FILES = LICENSE.TXT

HOST_ELF2FLT_DEPENDENCIES = host-binutils host-zlib

# It is not exactly a host variant, but more a cross variant, which is
# why we pass a special --target option.
HOST_ELF2FLT_CONF_OPT = \
	--with-bfd-include-dir=$(HOST_BINUTILS_DIR)/bfd/ \
	--with-binutils-include-dir=$(HOST_BINUTILS_DIR)/include/ \
	--with-libbfd=$(HOST_BINUTILS_DIR)/bfd/libbfd.a \
	--with-libiberty=$(HOST_BINUTILS_DIR)/libiberty/libiberty.a \
	--target=$(GNU_TARGET_NAME)

HOST_ELF2FLT_CONF_ENV = LIBS=-lz

$(eval $(host-autotools-package))
OpenPOWER on IntegriCloud