[openwrt/openwrt] armvirt, x86: fix build breakage of crypto ccp module

LEDE Commits lede-commits at lists.infradead.org
Tue Jun 23 03:29:17 EDT 2020


ynezz pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/472b8fc91bbab0530d72e9780a482bacc1bbe5f7

commit 472b8fc91bbab0530d72e9780a482bacc1bbe5f7
Author: Petr Štetiar <ynezz at true.cz>
AuthorDate: Tue Jun 23 09:24:57 2020 +0200

    armvirt,x86: fix build breakage of crypto ccp module
    
    Upstream in commit f9f8f0c24203 ("crypto: ccp -- don't "select"
    CONFIG_DMADEVICES") removed dependency on CONFIG_DMADEVICES symbol which
    leads to build breakage of ccp crypto module, so fix this by adding that
    symbol back in the kernel config.
    
    Signed-off-by: Petr Štetiar <ynezz at true.cz>
---
 target/linux/armvirt/config-5.4 | 1 +
 target/linux/x86/config-5.4     | 1 +
 2 files changed, 2 insertions(+)

diff --git a/target/linux/armvirt/config-5.4 b/target/linux/armvirt/config-5.4
index 5d62dcd276..0754831fe4 100644
--- a/target/linux/armvirt/config-5.4
+++ b/target/linux/armvirt/config-5.4
@@ -63,6 +63,7 @@ CONFIG_CRYPTO_RNG2=y
 CONFIG_CRYPTO_WORKQUEUE=y
 CONFIG_DCACHE_WORD_ACCESS=y
 CONFIG_DEBUG_BUGVERBOSE=y
+CONFIG_DMADEVICES=y
 CONFIG_DMA_REMAP=y
 CONFIG_DTC=y
 CONFIG_EDAC_SUPPORT=y
diff --git a/target/linux/x86/config-5.4 b/target/linux/x86/config-5.4
index d847960ec0..dbd23ce0f4 100644
--- a/target/linux/x86/config-5.4
+++ b/target/linux/x86/config-5.4
@@ -123,6 +123,7 @@ CONFIG_DEBUG_MISC=y
 CONFIG_DECOMPRESS_BZIP2=y
 CONFIG_DECOMPRESS_GZIP=y
 # CONFIG_DELL_RBU is not set
+CONFIG_DMADEVICES=y
 CONFIG_DMI=y
 CONFIG_DMIID=y
 CONFIG_DMI_SCAN_MACHINE_NON_EFI_FALLBACK=y



More information about the lede-commits mailing list