summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 9808fa712d..6e15b67860 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -230,7 +230,9 @@ print-boards:
$(sort $(boards)))
ifeq ($(ALLOW_CONFIG),)
-cmd_check_allowed = ./util/check_allowed.sh ${config} util/config_allowed.txt .
+cmd_check_allowed = ./util/kconfig_check.py -c ${config} \
+ -a util/config_allowed.txt -p PLATFORM_EC_ -s zephyr/ \
+ -I $(abspath ../../../src/third_party/zephyr/main) check
else
cmd_check_allowed = true
endif