Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
qti-conf
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
le
qti-conf
Commits
51017f31
Commit
51017f31
authored
1 month ago
by
Linux Build Service Account
Browse files
Options
Downloads
Plain Diff
Merge
99397782
on remote branch
Change-Id: Ifc4cb4c32f4d555ab597dbaa8d3335ecd413beb3
parents
88b223d7
99397782
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
set_bb_env.sh
+9
-4
9 additions, 4 deletions
set_bb_env.sh
with
9 additions
and
4 deletions
set_bb_env.sh
+
9
−
4
View file @
51017f31
...
...
@@ -255,10 +255,15 @@ BUILDVERSION=$( echo "${BUILDNAME}" |rev |cut -d. -f1| rev )
# Get the kernel target name from the kernel build directory
if
[[
${
MACHINE
}
=
~
"trustedvm"
]]
;
then
cd
$BUILDDIR
/../src/kernel-
*
/out/
kernel_dir
=
$(
find
.
-maxdepth
1
-name
\*
msm-kernel
\*
-type
d |
head
-n1
)
echo
$kernel_ver
kernel_target_name
=
$(
echo
${
kernel_dir
}
|
cut
-d
'-'
-f3
)
KERNEL_TARGET
=
$(
echo
${
kernel_target_name
}
|
cut
-d
'_'
-f1
)
kernel_dirs
=
$(
find
.
-maxdepth
1
-name
\*
msm-kernel
\*
-type
d
)
for
dir
in
$kernel_dirs
;
do
echo
"Processing directory:
$dir
"
kernel_target_name
=
$(
echo
${
dir
}
|
cut
-d
'-'
-f3
)
KERNEL_TARGET
=
$(
echo
${
kernel_target_name
}
|
cut
-d
'_'
-f1
)
if
[[
${
MACHINE
}
=
~
"trustedvm-v3"
]]
;
then
break
fi
done
KERNEL_VERSION
=
$(
basename
$BUILDDIR
/../src/kernel-
*
/ |
sed
's/.*-//'
)
cd
-
fi
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment