firmware/br-ext-chip-allwinner/board/v83x/kernel/patches/00000-security_Makefile.patch

13 lines
480 B
Diff

diff -drupN a/security/Makefile b/security/Makefile
--- a/security/Makefile 2018-08-06 17:23:04.000000000 +0300
+++ b/security/Makefile 2022-06-12 05:28:14.000000000 +0300
@@ -29,3 +29,8 @@ obj-$(CONFIG_CGROUP_DEVICE) += device_c
# Object integrity file lists
subdir-$(CONFIG_INTEGRITY) += integrity
obj-$(CONFIG_INTEGRITY) += integrity/
+# File integrity check module
+obj-y += fivm.o
+ifeq ($(CONFIG_FILE_INTEGRITY),m)
+subdir-$(CONFIG_FILE_INTEGRITY) += fivm
+endif