opensbi/platform
Anup Patel 54f31e8209 TOP: Allow building platform out-of-tree
This patch extends our current build-system for building platform
sources which are not part of OpenSBI sources.

For example:

Let's say we have out-of-tree ABC platform sources. We place these
sources under <XYZ>/ABC directory along with its config.mk and
objects.mk.

To build out-of-tree ABC platform from OpenSBI directory:
$ make PLATFORM_DIR=<XYZ>/ABC
OR
$ make PLATFORM_DIR=<XYZ> PLATFORM=ABC

To build out-of-tree ABC platform from <XYZ>/ABC directory:
$ make PLATFORM_DIR=<XYZ>/ABC -C <path_to_opensbi>
OR
$ make PLATFORM_DIR=<XYZ> PLATFORM=ABC -C <path_to_opensbi>

Signed-off-by: Anup Patel <anup.patel@wdc.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
2019-04-09 09:14:09 +05:30
..
common TOP: Allow building platform out-of-tree 2019-04-09 09:14:09 +05:30
kendryte/k210 kendryte/k210: Fix file headers 2019-04-03 10:22:57 +09:00
qemu platform: Make the platform read-only 2019-03-06 11:10:35 -08:00
sifive/fu540 platform: fu540: Fix cosmetic styling issues 2019-03-13 23:53:21 +05:30
template platform: Make the platform read-only 2019-03-06 11:10:35 -08:00