浏览代码

build: config: cleanup impossible dependency logic

some config `depends on` lines contained outdated kernel version checks
that can no longer happen and had become non-operational; clean them up

cosmetic change with no functional effect

Signed-off-by: Tony Butler <[email protected]>
Tony Butler 2 年之前
父节点
当前提交
7e83cdf3f7
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. 0 1
      config/Config-images.in
  2. 1 1
      config/Config-kernel.in

+ 0 - 1
config/Config-images.in

@@ -47,7 +47,6 @@ menu "Target Images"
 				bool "xz"
 
 			config TARGET_INITRAMFS_COMPRESSION_ZSTD
-				depends on !LINUX_5_4 && !LINUX_4_19
 				bool "zstd"
 		endchoice
 

+ 1 - 1
config/Config-kernel.in

@@ -779,7 +779,7 @@ if KERNEL_CGROUPS
 		bool "Memory Resource Controller for Control Groups"
 		default y
 		select KERNEL_FREEZER
-		depends on KERNEL_RESOURCE_COUNTERS || !LINUX_3_18
+		depends on KERNEL_RESOURCE_COUNTERS
 		help
 		  Provides a memory resource controller that manages both anonymous
 		  memory and page cache. (See Documentation/cgroups/memory.txt)