python-pyasn: bump to version 1.6.0b1
[buildroot-gz.git] / package / elf2flt / elf2flt.mk
blobbd15ea2a15e309ab7efe3c7918ed7d3d0319c7cf
1 ################################################################################
3 # elf2flt
5 ################################################################################
7 ELF2FLT_VERSION = 9dbc458c6122c495bbdec8dc975a15c9d39e5ff2
8 ELF2FLT_SITE = $(call github,uclinux-dev,elf2flt,$(ELF2FLT_VERSION))
9 ELF2FLT_LICENSE = GPLv2+
10 ELF2FLT_LICENSE_FILES = LICENSE.TXT
12 HOST_ELF2FLT_DEPENDENCIES = host-binutils host-zlib
14 # It is not exactly a host variant, but more a cross variant, which is
15 # why we pass a special --target option.
16 HOST_ELF2FLT_CONF_OPTS = \
17 --with-bfd-include-dir=$(HOST_BINUTILS_DIR)/bfd/ \
18 --with-binutils-include-dir=$(HOST_BINUTILS_DIR)/include/ \
19 --with-libbfd=$(HOST_BINUTILS_DIR)/bfd/libbfd.a \
20 --with-libiberty=$(HOST_BINUTILS_DIR)/libiberty/libiberty.a \
21 --target=$(GNU_TARGET_NAME) \
22 --disable-werror
24 HOST_ELF2FLT_LIBS = -lz
26 ifeq ($(BR2_GCC_ENABLE_LTO),y)
27 HOST_ELF2FLT_LIBS += -ldl
28 endif
30 HOST_ELF2FLT_CONF_ENV = LIBS="$(HOST_ELF2FLT_LIBS)"
32 $(eval $(host-autotools-package))