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
23f4c277
Commit
23f4c277
authored
12 years ago
by
Michael Vines
Browse files
Options
Downloads
Patches
Plain Diff
Minor b2g_product.mk and patch directory work
Change-Id: I940ef5929cc54782a53d10a5e3c0e9ee049ba14e
parent
53f4e5e6
No related branches found
Branches containing commit
Tags
AU_LINUX_GECKO_ICS_STRAWBERRY_V1.01.00.01.19.022
AU_LINUX_GECKO_ICS_STRAWBERRY_V1.01.00.01.19.023
M76XXUSNEKNFYA1040
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
b2g_product.mk
+1
-0
1 addition, 0 deletions
b2g_product.mk
vendorsetup.sh
+5
-4
5 additions, 4 deletions
vendorsetup.sh
with
6 additions
and
4 deletions
b2g_product.mk
+
1
−
0
View file @
23f4c277
...
...
@@ -28,6 +28,7 @@
HTTP
=
android# Disable chrome HTTP stack
in
frameworks/base/media/libstagefright/Android.mk
PRODUCT_PACKAGES
+=
b2g.sh fakeperm gaia gecko init.b2g.rc rilproxy
PRODUCT_PACKAGES
+=
librecovery
PRODUCT_PACKAGES
+=
\
OpenSans-BoldItalic.ttf
\
...
...
This diff is collapsed.
Click to expand it.
vendorsetup.sh
+
5
−
4
View file @
23f4c277
...
...
@@ -52,12 +52,13 @@ __abandon_tree()
fi
}
B2G_PATCH_DIRS
=
"vendor/qcom/proprietary/b2g_common/patch device/qcom/b2g_common/patch"
__patch_tree
()
{
(
cd
$(
gettop
)
local
TREE_ID
=
${
B2G_TREE_ID
:-
$(
device/qcom/b2g_common/treeid.sh
)
}
local
PATCH_DIRS
=
"vendor/qcom/proprietary/b2g_common/patch device/qcom/b2g_common/patch"
echo
>>
Android tree IDs:
${
TREE_ID
}
set
-e
...
...
@@ -66,7 +67,7 @@ __patch_tree()
local
MD5SUM
=
unknown
if
[[
-f
out/lastpatch.md5sum
]]
;
then
LASTMD5SUM
=
$(
cat
out/lastpatch.md5sum
)
MD5SUM
=
$(
__tree_md5sum
${
PATCH_DIRS
}
)
MD5SUM
=
$(
__tree_md5sum
${
B2G_
PATCH_DIRS
}
)
fi
if
[[
"
$LASTMD5SUM
"
!=
"
$MD5SUM
"
]]
;
then
echo
"Change detected. Applying B2G patches"
.
...
...
@@ -127,7 +128,7 @@ __patch_tree()
# and collate them into an associative array
# indexed by project
declare
-A
PRJ_LIST
for
DIR
in
${
PATCH_DIRS
}
;
do
for
DIR
in
${
B2G_
PATCH_DIRS
}
;
do
for
ID
in
${
TREE_ID
}
;
do
local
D
=
${
DIR
}
/
${
ID
}
[[
-d
$D
]]
||
continue
...
...
@@ -179,7 +180,7 @@ __patch_tree()
echo
echo
B2G patches applied.
mkdir
-p
out
echo
$(
__tree_md5sum
${
PATCH_DIRS
}
)
>
out/lastpatch.md5sum
echo
$(
__tree_md5sum
${
B2G_
PATCH_DIRS
}
)
>
out/lastpatch.md5sum
else
echo
no changes detected.
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