Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: define CPU only when arch/${ARCH}/cpu/${CPU} exists
The directory arch/${ARCH}/cpu/${CPU} does not exist in avr32, blackfin, microblaze, nios2, openrisc, sandbox, x86. These architectures have only one CPU type. Defining CPU should not be required for such architectures. This commit allows cpu field (= the 3rd field of boards.cfg) to be kept blank. Signed-off-by: Masahiro Yamada <[email protected]> Cc: Andreas Bießmann <[email protected]> Cc: Simon Glass <[email protected]> Cc: Sonic Zhang <[email protected]> Cc: Michal Simek <[email protected]> Cc: Thomas Chou <[email protected]> Cc: Stefan Kristiansson <[email protected]>
- Loading branch information