]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit967f2bd028ca3289d5684970fa353b62b25f6db3
tree4860a448af90d815d2b486bbc0ec9688b3a618b3
parent0fd7b344c998c8ff9bd493c45805507cdf37a4df
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