Skip to content

Commit

Permalink
build: define CPU only when arch/${ARCH}/cpu/${CPU} exists
Browse files Browse the repository at this point in the history
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
masahir0y authored and trini committed Jul 7, 2014
1 parent d1db76f commit a8b0f9b
Show file tree
Hide file tree
Showing 5 changed files with 62 additions and 60 deletions.
File renamed without changes.
Loading

0 comments on commit a8b0f9b

Please sign in to comment.