diff options
author | Simon Glass <sjg@chromium.org> | 2013-04-20 08:42:36 +0000 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2013-05-01 11:17:21 -0400 |
commit | fada9e2048446878c95fb331bbc21e1e40eddc72 (patch) | |
tree | 97992f69235cc3b54bf8c52cfaf6f8eeaf423d7b /.checkpatch.conf | |
parent | ce5346a80599a714962d3fc4bf90ddf0d2e62299 (diff) | |
download | u-boot-imx-fada9e2048446878c95fb331bbc21e1e40eddc72.zip u-boot-imx-fada9e2048446878c95fb331bbc21e1e40eddc72.tar.gz u-boot-imx-fada9e2048446878c95fb331bbc21e1e40eddc72.tar.bz2 |
Trigger generic board error only when building
At present the generic board error can occur when configuring U-Boot, or
during distclean, but this is incorrect. The existing autoconf.mk may come
from an earlier U-Boot configuration which is about to be overwritten.
Make the error conditional so that it will only be triggered when we are
actually building U-Boot.
This avoids a problem where the system is being reconfigured to remove
CONFIG_SYS_GENERIC_BOARD on an architecture that does not support it.
Currently this will print an error and require the manual removal of
include/autoconf.mk.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to '.checkpatch.conf')
0 files changed, 0 insertions, 0 deletions