47bde82a04
Enable autoreconf because of missing install-sh. Add upstream patch fixing build breakage with libtalloc is missing. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
31 lines
820 B
Makefile
31 lines
820 B
Makefile
################################################################################
|
|
#
|
|
# cifs-utils
|
|
#
|
|
################################################################################
|
|
|
|
CIFS_UTILS_VERSION = 6.7
|
|
CIFS_UTILS_SOURCE = cifs-utils-$(CIFS_UTILS_VERSION).tar.bz2
|
|
CIFS_UTILS_SITE = http://ftp.samba.org/pub/linux-cifs/cifs-utils
|
|
CIFS_UTILS_LICENSE = GPL-3.0+
|
|
CIFS_UTILS_LICENSE_FILES = COPYING
|
|
# Missing install-sh in release tarball
|
|
CIFS_UTILS_AUTORECONF = YES
|
|
CIFS_UTILS_DEPENDENCIES = host-pkgconf
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_SUPPORTS_PIE),)
|
|
CIFS_UTILS_CONF_OPTS += --disable-pie
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_KEYUTILS),y)
|
|
CIFS_UTILS_DEPENDENCIES += keyutils
|
|
endif
|
|
|
|
define CIFS_UTILS_NO_WERROR
|
|
$(SED) 's/-Werror//' $(@D)/Makefile.in
|
|
endef
|
|
|
|
CIFS_UTILS_POST_PATCH_HOOKS += CIFS_UTILS_NO_WERROR
|
|
|
|
$(eval $(autotools-package))
|