initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
config BR2_PACKAGE_SEMODULE_UTILS
|
||||
bool "semodule-utils"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libsepol
|
||||
select BR2_PACKAGE_LIBSEPOL
|
||||
help
|
||||
semodule-utils is a package that contains tools for handling
|
||||
selinux modules.
|
||||
|
||||
The package will install the following utilities:
|
||||
* semodule_deps - Show the dependencies between SELinux
|
||||
policy packages.
|
||||
* semodule_expand - Expand a SELinux policy module package.
|
||||
* semodule_link - Link SELinux policy module packages together
|
||||
* semodule_package - Create a SELinux policy module package.
|
||||
|
||||
https://github.com/SELinuxProject/selinux/wiki/Releases
|
||||
|
||||
comment "semodule-utils needs a toolchain w/ threads"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
||||
@@ -0,0 +1,5 @@
|
||||
# https://github.com/SELinuxProject/selinux/wiki/Releases
|
||||
sha256 be155654883c8dc4d05493e04a3eb9e56d28803009f1fdd721d42c68b878f757 semodule-utils-3.2.tar.gz
|
||||
|
||||
# Hash for license file
|
||||
sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING
|
||||
@@ -0,0 +1,27 @@
|
||||
################################################################################
|
||||
#
|
||||
# semodule-utils
|
||||
#
|
||||
################################################################################
|
||||
|
||||
SEMODULE_UTILS_VERSION = 3.2
|
||||
SEMODULE_UTILS_SITE = https://github.com/SELinuxProject/selinux/releases/download/$(SEMODULE_UTILS_VERSION)
|
||||
SEMODULE_UTILS_LICENSE = GPL-2.0
|
||||
SEMODULE_UTILS_LICENSE_FILES = COPYING
|
||||
SEMODULE_UTILS_DEPENDENCIES = libsepol
|
||||
|
||||
SEMODULE_UTILS_MAKE_OPTS += \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
LIBSEPOLA=$(STAGING_DIR)/usr/lib/libsepol.a
|
||||
|
||||
# We need to pass DESTDIR at build time because it's used by
|
||||
# semodule-utils build system to find headers and libraries.
|
||||
define SEMODULE_UTILS_BUILD_CMDS
|
||||
$(MAKE) -C $(@D) $(SEMODULE_UTILS_MAKE_OPTS) DESTDIR=$(STAGING_DIR) all
|
||||
endef
|
||||
|
||||
define SEMODULE_UTILS_INSTALL_TARGET_CMDS
|
||||
$(MAKE) -C $(@D) $(SEMODULE_UTILS_MAKE_OPTS) DESTDIR=$(TARGET_DIR) install
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
Reference in New Issue
Block a user