Skip to content

Commit 756daab

Browse files
authored
[ATfL] Add ability to specify OS name, and update help text (#88)
It's a cherry-pick from the arm-software branch. OS name can be used to specify the target OS, along with the targeted distribution name and version, e.g., `RHEL10`.
1 parent cc5f9a7 commit 756daab

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

arm-software/linux/build.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ INTERACTIVE=false
3232

3333
RELEASE_FLAGS=${RELEASE_FLAGS:-"false"}
3434
ATFL_VERSION=${ATFL_VERSION:-"0.0"}
35-
TAR_NAME=${TAR_NAME:-"atfl-${ATFL_VERSION}-linux-aarch64.tar.gz"}
35+
OS_NAME=${OS_NAME:-"linux"}
36+
TAR_NAME=${TAR_NAME:-"atfl-${ATFL_VERSION}-${OS_NAME}-aarch64.tar.gz"}
3637
ATFL_ASSERTIONS=${ATFL_ASSERTIONS:-"ON"}
3738
PROCESSOR_COUNT=$(getconf _NPROCESSORS_ONLN)
3839
PARALLEL_JOBS=${PARALLEL_JOBS:-"${PROCESSOR_COUNT}"}
@@ -187,6 +188,10 @@ Environment Variables:
187188
(default: $PARALLEL_JOBS)
188189
ATFL_ASSERTIONS Enable assertions in the build ON/OFF
189190
(default: $ATFL_ASSERTIONS)
191+
ATFL_VERSION Specify the version string
192+
(default: $ATFL_VERSION)
193+
OS_NAME Specify the OS name
194+
(default: $OS_NAME)
190195
TAR_NAME The name of the tarball to be created
191196
(default: $TAR_NAME)
192197
ZLIB_STATIC_PATH Specifies the location of the static zlib library (libz.a)

0 commit comments

Comments
 (0)