btrfs-progs: don't use <execinfo.h> with uClibc
[buildroot-gz.git] / package / btrfs-progs / btrfs-progs.mk
blobf73397ca8e713807aa67c11fc868a03417ccac4c
1 ################################################################################
3 # btrfs-progs
5 ################################################################################
7 BTRFS_PROGS_VERSION = 4.9.1
8 BTRFS_PROGS_SITE = $(BR2_KERNEL_MIRROR)/linux/kernel/people/kdave/btrfs-progs
9 BTRFS_PROGS_SOURCE = btrfs-progs-v$(BTRFS_PROGS_VERSION).tar.xz
10 BTRFS_PROGS_DEPENDENCIES = host-pkgconf e2fsprogs lzo util-linux zlib
11 BTRFS_PROGS_CONF_OPTS = --disable-backtrace
12 BTRFS_PROGS_LICENSE = GPLv2
13 BTRFS_PROGS_LICENSE_FILES = COPYING
14 BTRFS_PROGS_INSTALL_STAGING = YES
16 # Doesn't autodetect static-only and tries to build both
17 ifeq ($(BR2_STATIC_LIBS),y)
18 BTRFS_PROGS_MAKE_OPTS = static
19 BTRFS_PROGS_INSTALL_TARGET_OPTS = DESTDIR=$(TARGET_DIR) install-static
20 BTRFS_PROGS_INSTALL_STAGING_OPTS = DESTDIR=$(STAGING_DIR) install-static
21 endif
23 $(eval $(autotools-package))