diff options
| author | Anup Patel <[email protected]> | 2019-04-04 11:49:43 +0530 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2019-04-09 09:14:09 +0530 |
| commit | 54f31e82093969eaca9f7ebab06c92fa044dd076 (patch) | |
| tree | 4bdf1b0287726485a17525b59919cca799449354 /include | |
| parent | 40086daa6275889d55829501ae926a95c9349701 (diff) | |
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 <[email protected]>
Reviewed-by: Alistair Francis <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
