Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
build
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
lf
build
Commits
e44805ae
Commit
e44805ae
authored
10 years ago
by
Michael Vines
Browse files
Options
Downloads
Patches
Plain Diff
Set B2G_PATCH_DIRS in the env for existing consumers
Change-Id: I7cf8b1047ade4252c331aed8d13a889aba319354
parent
1a2b8ee7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vendorsetup.sh
+6
-7
6 additions, 7 deletions
vendorsetup.sh
with
6 additions
and
7 deletions
vendorsetup.sh
+
6
−
7
View file @
e44805ae
...
...
@@ -38,6 +38,12 @@ B2G_TREEID_SH=${B2G_TREEID_SH:-device/qcom/b2g_common/treeid.sh}
B2G_HASHED_FILES
=
"
${
B2G_HASHED_FILES
:-
"device/qcom/b2g_common/vendorsetup.sh
${
B2G_TREEID_SH
}
"
}
"
REPO
=
"
${
REPO
:-
repo
}
"
# Look for patch trees
B2G_PATCH_DIRS
=
$(
LANG
=
C
sort
-u
<
(
\
test
-d
device
&&
find
-L
device
-maxdepth
4
-type
d
-name
patch
;
\
test
-d
vendor
&&
find
-L
vendor
-maxdepth
4
-type
d
-name
patch
\
)
2> /dev/null
)
__tree_md5sum
()
{
(
...
...
@@ -72,13 +78,6 @@ __patch_tree()
cd
$(
gettop
)
local
TREE_ID
=
${
B2G_TREE_ID
:-
$(
${
B2G_TREEID_SH
}
)
}
local
B2G_PATCH_DIRS
=
$(
\
LANG
=
C
sort
-u
<
(
\
test
-d
device
&&
find
-L
device
-maxdepth
4
-type
d
-name
patch
;
\
test
-d
vendor
&&
find
-L
vendor
-maxdepth
4
-type
d
-name
patch
\
)
2> /dev/null
\
)
echo
"Tree IDs:
${
TREE_ID
}
"
echo
"Patch directories: "
for
d
in
${
B2G_PATCH_DIRS
}
;
do
...
...
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