summaryrefslogtreecommitdiffstats
path: root/package/libelf/libelf.mk
blob: ade369ecfd5031eb9342084a7214bb2c72a68b0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#############################################################
#
# libelf
#
#############################################################
LIBELF_VERSION=0.8.10
LIBELF_SOURCE=libelf-$(LIBELF_VERSION).tar.gz
LIBELF_SITE=http://www.mr511.de/software/
LIBELF_INSTALL_STAGING = YES
LIBELF_INSTALL_STAGING_OPT = instroot=$(STAGING_DIR) install
LIBELF_INSTALL_TARGET_OPT = instroot=$(TARGET_DIR) install

LIBELD_CONF_ENV = libelf_cv_working_memmove=yes \
		mr_cv_target_elf=yes \
		libelf_64bit=yes

LIBELF_CONF_OPT = --enable-shared --disable-sanity-checks \
		$(if $(BR2_ENABLE_DEBUG),--enable-debug,--disable-debug) \
		$(if $(BR2_LARGEFILE),--enable-elf64)

$(eval $(call AUTOTARGETS,package,libelf))