xref: /OK3568_Linux_fs/buildroot/package/libunwind/libunwind.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1################################################################################
2#
3# libunwind
4#
5################################################################################
6
7LIBUNWIND_VERSION = 1.6.2
8LIBUNWIND_SITE = http://download.savannah.gnu.org/releases/libunwind
9LIBUNWIND_INSTALL_STAGING = YES
10LIBUNWIND_LICENSE_FILES = COPYING
11LIBUNWIND_LICENSE = MIT
12LIBUNWIND_CPE_ID_VENDOR = libunwind_project
13LIBUNWIND_AUTORECONF = YES
14
15ifeq ($(BR2_PACKAGE_XZ),y)
16LIBUNWIND_DEPENDENCIES += xz
17endif
18
19LIBUNWIND_CONF_OPTS = \
20	--disable-tests \
21	$(if $(BR2_INSTALL_LIBSTDCPP),--enable-cxx-exceptions,--disable-cxx-exceptions)
22
23ifeq ($(BR2_PACKAGE_LIBUNWIND_STATIC),y)
24LIBUNWIND_CONF_OPTS += --enable-static --disable-zlibdebuginfo
25endif
26
27$(eval $(autotools-package))
28