I need to compile u-boot for a custom board based on LS1043A. I create board_sdcard_defconfig, I create a board directory with board specific files (board.c, ddr.c and also pbi.cfg and rcw.cfg etc), configs/board.h & configs/board_common.h
I have enabled CONFIG_SPL in the defconfig.
when I compile u-boot with make board_sdcard_defconfig it gives me error as:
make: *** No rule to make target `checkarmreloc', needed by `all'. Stop.
make: *** [spl/u-boot-spl] Error 2
(please see attached u-boot compile error.img and log as well).
When I compile u-boot for QSPI boot with board_qspi_defconfig, it compiles with no error and outputs u-boot-dtb.bin.
What could be the cause of this compilation error and how can I solve this u-boot build issue. If you could outline what steps should I follow to build/compile u-boot for a custom board. I have access to NXP RDB, the source files of which I use as reference.