mirror of
https://git.busybox.net/buildroot.git
synced 2024-12-13 07:13:32 +08:00
package/libexecinfo: new package
Provides execinfo.h for non-glibc toolchains. Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
52bba69dc9
commit
eea8ba446c
@ -1964,6 +1964,7 @@ menu "Other"
|
||||
source "package/libev/Config.in"
|
||||
source "package/libevdev/Config.in"
|
||||
source "package/libevent/Config.in"
|
||||
source "package/libexecinfo/Config.in"
|
||||
source "package/libffi/Config.in"
|
||||
source "package/libgee/Config.in"
|
||||
source "package/libgeos/Config.in"
|
||||
|
7
package/libexecinfo/Config.in
Normal file
7
package/libexecinfo/Config.in
Normal file
@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_LIBEXECINFO
|
||||
bool "libexecinfo"
|
||||
depends on !BR2_TOOLCHAIN_USES_GLIBC
|
||||
help
|
||||
Library for inspecting program's backtrace
|
||||
|
||||
https://github.com/mikroskeem/libexecinfo
|
3
package/libexecinfo/libexecinfo.hash
Normal file
3
package/libexecinfo/libexecinfo.hash
Normal file
@ -0,0 +1,3 @@
|
||||
# Locally computed
|
||||
sha256 0462304192fab38c39a376594db1c8bdab4ebda2736bf54f01715917f430611e libexecinfo-1.1-3.tar.gz
|
||||
sha256 46fbc8e6849a164c4ba8fd5875748bde302bf3cd713622af0e51b4e10344f516 execinfo.h
|
30
package/libexecinfo/libexecinfo.mk
Normal file
30
package/libexecinfo/libexecinfo.mk
Normal file
@ -0,0 +1,30 @@
|
||||
################################################################################
|
||||
#
|
||||
# libexecinfo
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBEXECINFO_VERSION = 1.1-3
|
||||
LIBEXECINFO_SITE = $(call github,mikroskeem,libexecinfo,$(LIBEXECINFO_VERSION))
|
||||
LIBEXECINFO_LICENSE = BSD-2-Clause
|
||||
LIBEXECINFO_LICENSE_FILES = execinfo.h
|
||||
LIBEXECINFO_INSTALL_STAGING = YES
|
||||
|
||||
define LIBEXECINFO_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
|
||||
EXECINFO_CFLAGS="$(TARGET_CFLAGS) -c"
|
||||
endef
|
||||
|
||||
define LIBEXECINFO_INSTALL_STAGING_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
|
||||
EXECINFO_CFLAGS="$(TARGET_CFLAGS) -c" \
|
||||
DESTDIR="$(STAGING_DIR)" PREFIX=/usr install
|
||||
endef
|
||||
|
||||
define LIBEXECINFO_INSTALL_TARGET_CMDS
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
|
||||
EXECINFO_CFLAGS="$(TARGET_CFLAGS) -c" \
|
||||
DESTDIR="$(TARGET_DIR)" PREFIX=/usr install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
Loading…
Reference in New Issue
Block a user