repo.or.cz
/
mytuuics.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
修改拨动开关
[mytuuics.git]
/
user_build
blob
546c9ae2f1723b3b89264aa8030b0f8eefc9660e
1
#!/bin/bash
2
function
get_type
()
3
{
4
grep
"^\s*ro.build.type\s*="
out
/
target
/
product
/
baoxue
/
system
/
build.prop|
sed
"s/^\s*ro.build.type\s*=\s*//"
5
}
6
7
if
[
`get_type`
==
'eng'
];
then
8
echo
"目前为eng版本,不能编译user版本"
9
exit
1
10
fi
11
.
/
mk
-t -o
=
TARGET_BUILD_VARIANT
=
user baoxue $
*
12