summaryrefslogtreecommitdiffstats
path: root/resources/scripts/helpers/build/config/corebootmodify
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/helpers/build/config/corebootmodify')
-rwxr-xr-xresources/scripts/helpers/build/config/corebootmodify5
1 files changed, 5 insertions, 0 deletions
diff --git a/resources/scripts/helpers/build/config/corebootmodify b/resources/scripts/helpers/build/config/corebootmodify
index bfb6a03..9048c47 100755
--- a/resources/scripts/helpers/build/config/corebootmodify
+++ b/resources/scripts/helpers/build/config/corebootmodify
@@ -37,6 +37,11 @@ cd "../../../coreboot/"
for config in ${configs}; do
printf "Updating config for %s\n" "${config}"
sleep 5
+
+ if [ ! -d "../resources/libreboot/config/${config}/" ]; then
+ printf "build/config/corebootmodify WARNING: config '%s' does not exist. Skipping.\n" "${config}"
+ continue
+ fi
mv "../resources/libreboot/config/${config}/config" ".config"
make menuconfig