2013-07-22 07:56:13 +02:00
|
|
|
################################################################################
|
2013-06-30 21:28:57 +02:00
|
|
|
#
|
|
|
|
# elf2flt
|
|
|
|
#
|
2013-07-22 07:56:13 +02:00
|
|
|
################################################################################
|
2013-06-30 21:28:57 +02:00
|
|
|
|
|
|
|
ELF2FLT_SOURCE =
|
|
|
|
HOST_ELF2FLT_SOURCE =
|
|
|
|
ELF2FLT_VERSION = 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)
|
|
|
|
|
2013-07-08 08:14:53 +02:00
|
|
|
HOST_ELF2FLT_CONF_ENV = LIBS=-lz
|
|
|
|
|
2013-06-30 21:28:57 +02:00
|
|
|
define HOST_ELF2FLT_EXTRACT_CMDS
|
|
|
|
cp -r package/elf2flt/src/* $(@D)
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(host-autotools-package))
|