summaryrefslogtreecommitdiffstats
path: root/package/cifs-utils/cifs-utils.mk
blob: 3f4c71a84af72fc8e66ac9018286a7056247d81f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
################################################################################
#
# cifs-utils
#
################################################################################

CIFS_UTILS_VERSION = 6.3
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 = GPLv3+
CIFS_UTILS_LICENSE_FILES = COPYING

ifeq ($(BR2_PREFER_STATIC_LIB),y)
CIFS_UTILS_CONF_OPT += --disable-pie
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))