mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-25 14:33:29 +08:00
300f9c9c9d
Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
22 lines
666 B
Makefile
22 lines
666 B
Makefile
#############################################################
|
|
#
|
|
# libelf
|
|
#
|
|
#############################################################
|
|
LIBELF_VERSION=0.8.12
|
|
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 = --disable-sanity-checks \
|
|
$(if $(BR2_ENABLE_DEBUG),--enable-debug,--disable-debug) \
|
|
$(if $(BR2_LARGEFILE),--enable-elf64)
|
|
|
|
$(eval $(call AUTOTARGETS))
|