buildroot.busybox.net archive mirror
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2 1/1] package/iwd: enable required kernel dependencies
@ 2021-12-04 23:40 James Hilliard
  2022-01-09  7:44 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: James Hilliard @ 2021-12-04 23:40 UTC (permalink / raw)
  To: buildroot; +Cc: James Hilliard, Peter Seiderer, Matt Weber

Required kernel options are listed in check_crypto() in srv/main.c:
https://git.kernel.org/pub/scm/network/wireless/iwd.git/tree/src/main.c?h=1.20#n268

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
---
Changes v1 -> v2:
  - remove optional kconfig options
  - remove a duplicate option
---
 package/iwd/iwd.mk | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/package/iwd/iwd.mk b/package/iwd/iwd.mk
index 96bdc56e93..1d0322edc3 100644
--- a/package/iwd/iwd.mk
+++ b/package/iwd/iwd.mk
@@ -63,4 +63,27 @@ define IWD_INSTALL_INIT_SYSV
 	ln -sf /tmp/iwd/hotspot $(TARGET_DIR)/var/lib/iwd/hotspot
 endef
 
+define IWD_LINUX_CONFIG_FIXUPS
+	$(call KCONFIG_ENABLE_OPT,CONFIG_ASYMMETRIC_KEY_TYPE)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_AES)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_CBC)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_CMAC)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_DES)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_ECB)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_HMAC)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_MD4)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_MD5)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_SHA1)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_SHA256)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_SHA512)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_USER_API_HASH)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_CRYPTO_USER_API_SKCIPHER)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_KEYS)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_KEY_DH_OPERATIONS)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_PKCS7_MESSAGE_PARSER)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_PKCS8_PRIVATE_KEY_PARSER)
+	$(call KCONFIG_ENABLE_OPT,CONFIG_X509_CERTIFICATE_PARSER)
+endef
+
 $(eval $(autotools-package))
-- 
2.25.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH v2 1/1] package/iwd: enable required kernel dependencies
  2021-12-04 23:40 [Buildroot] [PATCH v2 1/1] package/iwd: enable required kernel dependencies James Hilliard
@ 2022-01-09  7:44 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2022-01-09  7:44 UTC (permalink / raw)
  To: James Hilliard; +Cc: Peter Seiderer, Matt Weber, buildroot

>>>>> "James" == James Hilliard <james.hilliard1@gmail.com> writes:

 > Required kernel options are listed in check_crypto() in srv/main.c:
 > https://git.kernel.org/pub/scm/network/wireless/iwd.git/tree/src/main.c?h=1.20#n268

 > Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
 > ---
 > Changes v1 -> v2:
 >   - remove optional kconfig options
 >   - remove a duplicate option

Committed, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-09  7:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-04 23:40 [Buildroot] [PATCH v2 1/1] package/iwd: enable required kernel dependencies James Hilliard
2022-01-09  7:44 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).