Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
duo-buildroot-sdk
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
duo-buildroot-sdk
Commits
dd82b681
Commit
dd82b681
authored
Dec 22, 2023
by
carbon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
enrich build information
parent
e675cf64
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
build/milkvsetup.sh
build/milkvsetup.sh
+6
-0
No files found.
build/milkvsetup.sh
View file @
dd82b681
...
...
@@ -279,6 +279,12 @@ function build_middleware()
# add sdk version
echo
"SDK_VERSION=
${
SDK_VER
}
"
>
"
$SYSTEM_OUT_DIR
"
/sdk-release
if
[
!
-z
"
${
MV_BOARD
//
}
"
]
;
then
echo
"board=
${
MV_BOARD
}
"
>>
"
$SYSTEM_OUT_DIR
"
/sdk-release
echo
"branch=
$(
git rev-parse
--abbrev-ref
HEAD
)
"
>>
"
$SYSTEM_OUT_DIR
"
/sdk-release
echo
"commit=
$(
git rev-parse
--short
HEAD
)
"
>>
"
$SYSTEM_OUT_DIR
"
/sdk-release
echo
"time=
$(
date
+
"%Y-%m-%d-%H:%M:%S"
)
"
>>
"
$SYSTEM_OUT_DIR
"
/sdk-release
fi
)}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment