[7/8] backports: Do not build BPAUTO_BUILD_SYSTEM_DATA_VERIFICATION on < 3.13
diff mbox series

Message ID 20200320233950.32257-8-hauke@hauke-m.de
State New
Headers show
Series
  • backports: Update to version 5.5.10
Related show

Commit Message

Hauke Mehrtens March 20, 2020, 11:39 p.m. UTC
SYSTEM_DATA_VERIFICATION now uses hash_algo_name() which was added in
kernel 3.13. Just do not build this on older kernel versions.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
---
 backport/compat/Kconfig | 1 +
 dependencies            | 3 +++
 2 files changed, 4 insertions(+)

Patch
diff mbox series

diff --git a/backport/compat/Kconfig b/backport/compat/Kconfig
index 3af729a3..41b50a6b 100644
--- a/backport/compat/Kconfig
+++ b/backport/compat/Kconfig
@@ -150,6 +150,7 @@  config BPAUTO_BUILD_SYSTEM_DATA_VERIFICATION
 	bool
 	default y if BPAUTO_SYSTEM_DATA_VERIFICATION
 	depends on KERNEL_4_7 || !SYSTEM_DATA_VERIFICATION
+	depends on !KERNEL_3_13
 	select BPAUTO_ASN1_DECODER
 	select BPAUTO_PUBLIC_KEY
 	select BPAUTO_PKCS7
diff --git a/dependencies b/dependencies
index 47558470..cb6741c7 100644
--- a/dependencies
+++ b/dependencies
@@ -89,3 +89,6 @@  R8188EU  3.14
 # depends on crypto_sync_skcipher()
 AIRO 4.20
 AIRO_CS 4.20
+
+# needs BPAUTO_BUILD_SYSTEM_DATA_VERIFICATION
+CFG80211_REQUIRE_SIGNED_REGDB 3_13