arm64: zynqmp: Do not include pm_cfg_obj.o when SPL is disabled
authorMichal Simek <michal.simek@xilinx.com>
Tue, 30 Jul 2019 15:07:27 +0000 (17:07 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 30 Jul 2019 15:09:58 +0000 (17:09 +0200)
commitcd228cc04afc79c1383be707d0b812f45dfd53aa
tree54ebbd9051452346d59cddacdff4cb970227b4ef
parent5a4675a9171785475b49eb8ad0778dc28a6d8746
arm64: zynqmp: Do not include pm_cfg_obj.o when SPL is disabled

xilinx_zynqmp_mini configuration is throwing build error:
readlink: missing operand
Try 'readlink --help' for more information.

because CONFIG_ZYNQMP_SPL_PM_CFG_OBJ_FILE is not defined at all and
Makefile pass ifneq condition. Add SPL_BUILD dependency which is also
reflected in Kconfig.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
board/xilinx/zynqmp/Makefile