summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@gmail.com>2019-07-22 23:41:42 -0400
committerBruce Ashfield <bruce.ashfield@gmail.com>2019-07-22 23:41:42 -0400
commit578e0f7fef5a0772460e3c4bcae1200d35a70b21 (patch)
tree5b7d6bb18b3853bfa3bdbc06b02764ad5406e43a
parentbc0b9a7331b272d4b31d68f668c83dc11808db42 (diff)
downloadyocto-kernel-cache-578e0f7fef5a0772460e3c4bcae1200d35a70b21.tar.gz
yocto-kernel-cache-578e0f7fef5a0772460e3c4bcae1200d35a70b21.tar.bz2
yocto-kernel-cache-578e0f7fef5a0772460e3c4bcae1200d35a70b21.zip
config: set CONFIG_LIBCRC32C=y
Since commit d5178578bcd461cc79118c7a139882350fe505aa Author: Johannes Thumshirn <jthumshirn@suse.de> Date: Mon Jun 3 16:58:57 2019 +0200 btrfs: directly call into crypto framework for checksumming We now have a dependency on crc32 in crypto, and it must be built into the kernel to avoid: | x86_64-poky-linux-ld.bfd: fs/btrfs/super.o: in function `btrfs_mount_root': | super.c:(.text+0xb9b6): undefined reference to `crc32c_impl' | x86_64-poky-linux-ld.bfd: fs/btrfs/super.o: in function `init_btrfs_fs': | super.c:(.init.text+0x362b): undefined reference to `crc32c_impl' | x86_64-poky-linux-ld.bfd: fs/btrfs/extent-tree.o: in function `hash_extent_data_ref': | extent-tree.c:(.text+0xdfa): undefined reference to `crc32c' | x86_64-poky-linux-ld.bfd: extent-tree.c:(.text+0xe13): undefined reference to `crc32c' | x86_64-poky-linux-ld.bfd: extent-tree.c:(.text+0xe27): undefined reference to `crc32c' | x86_64-poky-linux-ld.bfd: fs/btrfs/dir-item.o: in function `btrfs_insert_xattr_item': | dir-item.c:(.text+0x286): undefined reference to `crc32c' So we set our defaults to cover the btrfs build cases without error. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--ktypes/preempt-rt/preempt-rt.cfg2
-rw-r--r--ktypes/standard/standard.cfg2
2 files changed, 2 insertions, 2 deletions
diff --git a/ktypes/preempt-rt/preempt-rt.cfg b/ktypes/preempt-rt/preempt-rt.cfg
index 0f9be4c4..5d272fcc 100644
--- a/ktypes/preempt-rt/preempt-rt.cfg
+++ b/ktypes/preempt-rt/preempt-rt.cfg
@@ -1117,5 +1117,5 @@ CONFIG_CRYPTO_CTR=y
#
# Library routines
#
-CONFIG_LIBCRC32C=m
+CONFIG_LIBCRC32C=y
CONFIG_ZLIB_DEFLATE=m
diff --git a/ktypes/standard/standard.cfg b/ktypes/standard/standard.cfg
index cccc6b34..ec2887a9 100644
--- a/ktypes/standard/standard.cfg
+++ b/ktypes/standard/standard.cfg
@@ -1111,7 +1111,7 @@ CONFIG_CRYPTO_CTR=y
#
# Library routines
#
-CONFIG_LIBCRC32C=m
+CONFIG_LIBCRC32C=y
CONFIG_ZLIB_DEFLATE=m
CONFIG_SHMEM=y