2005-02-25 04:22:54 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# libelf
|
|
|
|
#
|
|
|
|
#############################################################
|
2009-10-26 08:31:34 +01:00
|
|
|
LIBELF_VERSION=0.8.12
|
2007-07-11 16:06:06 +02:00
|
|
|
LIBELF_SOURCE=libelf-$(LIBELF_VERSION).tar.gz
|
2005-04-13 00:04:14 +02:00
|
|
|
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
|
2005-02-25 04:22:54 +01:00
|
|
|
|
2009-10-26 08:26:28 +01:00
|
|
|
LIBELD_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
|
|
|
|
2009-10-26 08:26:28 +01:00
|
|
|
LIBELF_CONF_OPT = --enable-shared --disable-sanity-checks \
|
|
|
|
$(if $(BR2_ENABLE_DEBUG),--enable-debug,--disable-debug) \
|
|
|
|
$(if $(BR2_LARGEFILE),--enable-elf64)
|
2005-02-25 04:22:54 +01:00
|
|
|
|
2009-10-26 08:26:28 +01:00
|
|
|
$(eval $(call AUTOTARGETS,package,libelf))
|