[openwrt/openwrt] build: config: cleanup impossible dependency logic

LEDE Commits lede-commits at lists.infradead.org
Sat Dec 3 11:45:59 PST 2022


hauke pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/7e83cdf3f7024e563088d69c6e95f772634fb098

commit 7e83cdf3f7024e563088d69c6e95f772634fb098
Author: Tony Butler <spudz76 at gmail.com>
AuthorDate: Mon Nov 28 04:05:30 2022 -0800

    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 <spudz76 at gmail.com>
---
 config/Config-images.in | 1 -
 config/Config-kernel.in | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/config/Config-images.in b/config/Config-images.in
index dcd7575c3e..aa23876259 100644
--- a/config/Config-images.in
+++ b/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
 
diff --git a/config/Config-kernel.in b/config/Config-kernel.in
index 34c606a848..eed3fba1aa 100644
--- a/config/Config-kernel.in
+++ b/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)




More information about the lede-commits mailing list