![Yann E. MORIN](/assets/img/avatar_default.png)
The name of the configure option is, and has always been, --enable-xattr, not --enable-attr. Otherwise, configure whines: configure: WARNING: unrecognized options: --enable-attr Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
21 lines
501 B
Makefile
21 lines
501 B
Makefile
################################################################################
|
|
#
|
|
# patch
|
|
#
|
|
################################################################################
|
|
|
|
PATCH_VERSION = 2.7.6
|
|
PATCH_SOURCE = patch-$(PATCH_VERSION).tar.xz
|
|
PATCH_SITE = $(BR2_GNU_MIRROR)/patch
|
|
PATCH_LICENSE = GPL-3.0+
|
|
PATCH_LICENSE_FILES = COPYING
|
|
|
|
ifeq ($(BR2_PACKAGE_ATTR),y)
|
|
PATCH_CONF_OPTS += --enable-xattr
|
|
PATCH_DEPENDENCIES += attr
|
|
else
|
|
PATCH_CONF_OPTS += --disable-xattr
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|