]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: define CMD_DATA_SIZE when CONFIG_CMD_SETEXPR is selected
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 20 May 2019 08:22:14 +0000 (10:22 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 14 Jun 2019 20:10:50 +0000 (16:10 -0400)
commit75846445edaa9cd2ec71ae21178d769656b8435b
tree8a581bacb77dd20d91cdb9cf1d35821668ed7889
parentd760a5efb94dadb5ea810c79830cef68de2a774f
cmd: define CMD_DATA_SIZE when CONFIG_CMD_SETEXPR is selected

The setexpr shell command calls cmd_get_data_size() which is only built
when CMD_DATA_SIZE is defined. We need to define CMD_DATA_SIZE if
CONFIG_CMD_SETEXPR is selected or the build will fail if no other
command selecting this option is enabled.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
include/command.h