From 0d0dbccce6dfa5231d40dfcd1d228a70e2c1b9a6 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Mon, 31 Aug 2020 13:53:46 +0200 Subject: automatically exclude apps without Kconfig --- script/mkconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'script/mkconfig') diff --git a/script/mkconfig b/script/mkconfig index 14daf4e..a3637ad 100755 --- a/script/mkconfig +++ b/script/mkconfig @@ -69,7 +69,7 @@ bool "Application" EOF for app in $(ls -1 src/app); do - if [ -e "src/app/${app}/no-kconfig" ]; then + if [ ! -e "src/app/${app}/Kconfig" ]; then continue fi echo config app_${app} | tr - _ @@ -86,7 +86,7 @@ echo endchoice echo for app in $(ls -1 src/app); do - if [ -e "src/app/${app}/no-kconfig" ]; then + if [ ! -e "src/app/${app}/Kconfig" ]; then continue fi echo config app -- cgit v1.2.3