diff options
author | Atish Patra <atish.patra@wdc.com> | 2019-06-18 14:54:03 -0700 |
---|---|---|
committer | Anup Patel <anup.patel@wdc.com> | 2019-06-19 09:48:56 +0530 |
commit | 793e5e1184f04012804914bd922e68536f3b68dd (patch) | |
tree | cb2ec2a81ed5e832de5c9c8a79dca17fce599af8 /scripts | |
parent | 98aaf8317b74414afa78078bc056670f46c45f41 (diff) |
platform: Move platform common to lib/utils.
Currently, platform/common contains platform/non-platform specific
common minimal drivers and libraries. This is helpful is all platforms
are built within opensbi framework.
Move them to lib/utils so that any external platform code also can
reuse the minimalistic drivers or other common libraries.
This patch doesn't introduce any functional changes.
Signed-off-by: Atish Patra <atish.patra@wdc.com>
Acked-by: Anup Patel <anup.patel@wdc.com>
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/create-binary-archive.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/create-binary-archive.sh b/scripts/create-binary-archive.sh index be8cfe1..d5890fc 100755 --- a/scripts/create-binary-archive.sh +++ b/scripts/create-binary-archive.sh @@ -103,10 +103,13 @@ esac # Ensure output directory is present mkdir -p "${BUILD_OUTPUT_PATH}" +# Do a clean build first +make distclean + # Build and install generic library echo "Build and install generic library XLEN=${BUILD_RISCV_XLEN}" echo "" -make -C "${BUILD_OPENSBI_SOURCE_PATH}" O="${BUILD_OUTPUT_PATH}" I="${BUILD_OUTPUT_PATH}/${BUILD_ARCHIVE_NAME}" PLATFORM_RISCV_XLEN="${BUILD_RISCV_XLEN}" install_libsbi -j "${BUILD_NUM_THREADS}" +make -C "${BUILD_OPENSBI_SOURCE_PATH}" O="${BUILD_OUTPUT_PATH}" I="${BUILD_OUTPUT_PATH}/${BUILD_ARCHIVE_NAME}" PLATFORM_RISCV_XLEN="${BUILD_RISCV_XLEN}" install_libsbi install_libsbiutils -j "${BUILD_NUM_THREADS}" echo "" # Build and install relevant platforms |