diff options
author | Simon Glass <sjg@chromium.org> | 2016-03-14 01:07:33 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-03-22 16:16:10 (GMT) |
commit | fb24112c19f1544129af938bb415b04241482f07 (patch) | |
tree | 9d59cc93977fabeeecf28cb6deda24b4cc1006a0 /common/Makefile | |
parent | 045e6f0d4f49c83375cd30b35fb7f02d7a79478e (diff) | |
download | u-boot-fb24112c19f1544129af938bb415b04241482f07.tar.xz |
Allow command code to compile to nothing
When CONFIG_CMDLINE is disabled we need to remove all the command-line
code. Most can be removed by dropping the appropriate linker lists from the
images, but sub-commands must be dealt with specially.
A simple mechanism is used to avoid 'unused static function' errors.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common/Makefile')
0 files changed, 0 insertions, 0 deletions