summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorDavid Stevens <stevensd@chromium.org>2022-01-29 12:03:26 +0000
committerCommit Bot <commit-bot@chromium.org>2022-01-30 00:44:40 +0000
commit854cd31b4d8ecd1061d7a12398a5fe768a8765b4 (patch)
tree34fd2bbea90705158f5e2ad1a3da778a5bf13310 /Makefile.rules
parent7e4dd282f376e4da6d902e72286885ec13d3b738 (diff)
downloadchrome-ec-854cd31b4d8ecd1061d7a12398a5fe768a8765b4.tar.gz
Revert "Makefile: Switch to the Python script for CONFIG checking"
This reverts commit 5b4c6473a341ebbd88463c908b39bb2820e5c43b. Reason for revert: b:216919905 - breaks chromeos CQ Original change's description: > Makefile: Switch to the Python script for CONFIG checking > > Now that the Python script seems to do what we need, switch over to > use that for checking for allowed ad-hoc CONFIGs. > > Sadly we need a work-around for the very old Python 3 version used in > the chroot. > > The new script is better at finding Kconfig options, so this allows some > reductions in the config_allowed.txt file. > > Delete the now-unused shell scripts. > > BUG=b:181323955 > BRANCH=none > TEST=python3 util/test_kconfig_check.py > > Signed-off-by: Simon Glass <sjg@chromium.org> > Change-Id: I2dafc9dfe9d9020638f4e49b5c5ee0fc0b10000b > Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2923233 > Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Bug: b:181323955 Change-Id: I9b5514f9d2df43033cfd95555612e2e89e6ce724 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3426237 Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org> Commit-Queue: Nicolas Norvez <norvez@chromium.org> Tested-by: Nicolas Norvez <norvez@chromium.org>
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 6e15b67860..9808fa712d 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -230,9 +230,7 @@ print-boards:
$(sort $(boards)))
ifeq ($(ALLOW_CONFIG),)
-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
+cmd_check_allowed = ./util/check_allowed.sh ${config} util/config_allowed.txt .
else
cmd_check_allowed = true
endif