2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2005-02-25 04:22:54 +01:00
|
|
|
#
|
|
|
|
# libelf
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2013-07-20 08:52:43 +02:00
|
|
|
LIBELF_VERSION = 0.8.12
|
|
|
|
LIBELF_SOURCE = libelf-$(LIBELF_VERSION).tar.gz
|
|
|
|
LIBELF_SITE = http://www.mr511.de/software/
|
2009-10-26 08:26:28 +01:00
|
|
|
LIBELF_INSTALL_STAGING = YES
|
|
|
|
LIBELF_INSTALL_STAGING_OPT = instroot=$(STAGING_DIR) install
|
|
|
|
LIBELF_INSTALL_TARGET_OPT = instroot=$(TARGET_DIR) install
|
2013-07-10 19:25:42 +02:00
|
|
|
LIBELF_LICENSE = LGPLv2+
|
|
|
|
LIBELF_LICENSE_FILES = COPYING.LIB
|
2005-02-25 04:22:54 +01:00
|
|
|
|
2012-07-30 19:10:31 +02:00
|
|
|
LIBELF_CONF_ENV = libelf_cv_working_memmove=yes \
|
2007-04-06 16:21:00 +02:00
|
|
|
mr_cv_target_elf=yes \
|
2009-10-26 08:26:28 +01:00
|
|
|
libelf_64bit=yes
|
2005-02-25 04:22:54 +01:00
|
|
|
|
2011-05-30 23:57:03 +02:00
|
|
|
LIBELF_CONF_OPT = --disable-sanity-checks \
|
2009-10-26 08:26:28 +01:00
|
|
|
$(if $(BR2_ENABLE_DEBUG),--enable-debug,--disable-debug) \
|
|
|
|
$(if $(BR2_LARGEFILE),--enable-elf64)
|
2005-02-25 04:22:54 +01:00
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|