ti: am335x: Fix bootargs when building without NET
authorAlex Kiernan <alex.kiernan@gmail.com>
Sun, 1 Apr 2018 09:22:35 +0000 (09:22 +0000)
committerTom Rini <trini@konsulko.com>
Mon, 9 Apr 2018 03:00:58 +0000 (23:00 -0400)
commit4f38592f9f212c7e96707fb4938adfd5fa06d880
tree4860a448af90d815d2b486bbc0ec9688b3a618b3
parentf02b8d17619f76124045a9e75acc17d8de3207a1
ti: am335x: Fix bootargs when building without NET

If DHCP/PXE commands are disabled then the compilation fails due to
bootargs attempting to use them:

  include/config_distro_bootcmd.h:319:2: error: expected ‘}’ before ‘BOOT_TARGET_DEVICES_references_PXE_without_CONFIG_CMD_DHCP_or_PXE’

Ensure that if the command aren't enabled, we don't try and use them.

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
include/configs/am335x_evm.h