]> git.dujemihanovic.xyz Git - u-boot.git/commit
build: define CPU only when arch/${ARCH}/cpu/${CPU} exists
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Tue, 24 Jun 2014 13:10:52 +0000 (22:10 +0900)
committerTom Rini <trini@ti.com>
Mon, 7 Jul 2014 23:42:34 +0000 (19:42 -0400)
commita8b0f9b685072e1d3acd01741e7db6833b445b2a
treeef92f75a73693017a4bc42e690eec2b0618d48cc
parentd1db76f1494492fc1c13e3bfe036c6dfb942e8be
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 <yamada.m@jp.panasonic.com>
Cc: Andreas Bießmann <andreas.devel@googlemail.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Sonic Zhang <sonic.zhang@analog.com>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: Thomas Chou <thomas@wytron.com.tw>
Cc: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
arch/sandbox/include/asm/sound.h [moved from arch/sandbox/include/asm/arch-sandbox/sound.h with 100% similarity]
boards.cfg
config.mk
drivers/sound/sandbox.c
mkconfig