Skip to content

Comments

Allow building platform out-of-tree#113

Merged
avpatel merged 1 commit intoriscv-software-src:masterfrom
avpatel:out_of_tree_platform_v3
Apr 9, 2019
Merged

Allow building platform out-of-tree#113
avpatel merged 1 commit intoriscv-software-src:masterfrom
avpatel:out_of_tree_platform_v3

Conversation

@avpatel
Copy link
Collaborator

@avpatel avpatel commented Apr 9, 2019

No description provided.

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>
@avpatel
Copy link
Collaborator Author

avpatel commented Apr 9, 2019

Already reviewed on OpenSBI mailing list.

@avpatel avpatel merged commit 54f31e8 into riscv-software-src:master Apr 9, 2019
@avpatel avpatel deleted the out_of_tree_platform_v3 branch April 9, 2019 03:44
alxri pushed a commit to greenlsi/opensbi that referenced this pull request Jul 29, 2025
alxri pushed a commit to greenlsi/opensbi that referenced this pull request Jul 29, 2025
…ssue-113

bump runtime, dirver to resolve riscv-software-src#113

This SDK bump also includes the changes for allowing alternative phys addrs for initial page tables (required for on-chip execution).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant