Makefile: Give a build error if ad-hoc CONFIG options are added
authorSimon Glass <sjg@chromium.org>
Wed, 14 Sep 2016 03:44:07 +0000 (21:44 -0600)
committerTom Rini <trini@konsulko.com>
Fri, 16 Sep 2016 21:27:24 +0000 (17:27 -0400)
commit371244cb19f9804711dd66e4281ff7979915fd2e
tree40cb0869ea03db494f5c2ae723b3ddf8f07ccf1c
parenteed921d923480eae759ebb79d1a1cd04f54f9445
Makefile: Give a build error if ad-hoc CONFIG options are added

New CONFIG options should be added via Kconfig. To help prevent new ad-hoc
CONFIGs from being added, give a build error when these are detected.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
Makefile
scripts/check-config.sh [new file with mode: 0755]