9a52f40e58
Upstream does not provide hashes anymore, replace with self-computed sha256 hash. Removed patches applied upstream, renumbered remaining patches: 0001-allow-building-of-the-shared-library-to-be-suppressed.patch https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/commit/?id=a4deb71ddc05e951c8be8d46615beed9d408a5c8 0004-Makefile-for-buildroot.patch https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/keyutils.git/commit/?id=d83b9b827c6c4bc2377dfa073cf5c837b87465e8 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
39 lines
1.1 KiB
Makefile
39 lines
1.1 KiB
Makefile
################################################################################
|
|
#
|
|
# keyutils
|
|
#
|
|
################################################################################
|
|
|
|
KEYUTILS_VERSION = 1.5.10
|
|
KEYUTILS_SOURCE = keyutils-$(KEYUTILS_VERSION).tar.bz2
|
|
KEYUTILS_SITE = http://people.redhat.com/~dhowells/keyutils
|
|
KEYUTILS_LICENSE = GPL-2.0+, LGPL-2.1+
|
|
KEYUTILS_LICENSE_FILES = LICENCE.GPL LICENCE.LGPL
|
|
KEYUTILS_INSTALL_STAGING = YES
|
|
|
|
KEYUTILS_MAKE_PARAMS = \
|
|
INSTALL=$(INSTALL) \
|
|
LIBDIR=/usr/lib \
|
|
USRLIBDIR=/usr/lib \
|
|
CFLAGS="$(TARGET_CFLAGS)" \
|
|
CPPFLAGS="$(TARGET_CPPFLAGS) -I." \
|
|
LNS="$(HOSTLN) -sf"
|
|
|
|
ifeq ($(BR2_SHARED_LIBS),y)
|
|
KEYUTILS_MAKE_PARAMS += NO_ARLIB=1
|
|
endif
|
|
|
|
define KEYUTILS_BUILD_CMDS
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) $(KEYUTILS_MAKE_PARAMS) -C $(@D)
|
|
endef
|
|
|
|
define KEYUTILS_INSTALL_STAGING_CMDS
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) $(KEYUTILS_MAKE_PARAMS) -C $(@D) DESTDIR=$(STAGING_DIR) install
|
|
endef
|
|
|
|
define KEYUTILS_INSTALL_TARGET_CMDS
|
|
$(TARGET_CONFIGURE_OPTS) $(MAKE) $(KEYUTILS_MAKE_PARAMS) -C $(@D) DESTDIR=$(TARGET_DIR) install
|
|
endef
|
|
|
|
$(eval $(generic-package))
|