View difference between Paste ID: P8gqiLbK and QGSB14x1
SHOW: | | - or go back to the newest paste.
1
1st, i made 2 dirs in ~/, jb for aosp and cm10 for cm
2
then, i followed http://forum.xda-developers.com/showpost.php?p=28626754&postcount=1 to try to build aosp in ~/jb. 
3
4
then
5
6
 
7
cd ~/cm10
8
repo init -u https://github.com/CyanogenMod/android.git -b jellybean
9
repo sync -j16
10
cp -r ~/cm9/device/samsung/skyrocket ~/cm10/device/samsung/
11
cp -r ~/cm9/device/samsung/msm8660-common/ ~/cm10/device/samsung/
12-
cp -r ~/cm9/kernel/samsung/msm8660-common/ ~/cm10/kernel/samsung/
12+
13-
cp -r ~/cm9/kernel/ ~/cm10/device/samsung/skyrocket/
13+
edit /build/envsetup.sh and device/samsung/skyrocket/envsetup.sh and add "add_lunch_combo cm_skyrocket-userdebug"
14
15-
create local_manifest.xml
15+
create local_manifest.xml with device/samsung/skyrocket and device/samsung/msm8660-common
16
repo sync -j16
17
18
cd ~/cm10
19
. build/envsetup.sh
20-
lunch cm_skyrocket-userdebug
20+
./vendor/cm/get-prebuilts
21
brunch cm_skyrocket-userdebug
22
23
recieve 1st error and:
24
25
cp -r ~/jb/out/target/product/skyrocket/obj/SHARED_LIBRARIES/librpc_intermediates/ ~/cm10/out/target/product/skyrocket/obj/SHARED_LIBRARIES/librpc_intermediates
26
27
cp -r ~/jb/out/target/product/skyrocket/obj/lib/librpc.so ~/cm10/out/target/product/skyrocket/obj/lib/
28
29-
receive 2nd error and:
29+
30
31
mkdir ~/cm10/out/target/product/skyrocket/obj/STATIC_LIBRARIES/libcommondefs-rpc_intermediates
32
33
touch ~/cm10/out/target/product/skyrocket/obj/STATIC_LIBRARIES/libcommondefs-rpc_intermediates/export_includes
34-
receive 3rd error and:
34+
35
brunch cm_skyrocket-userdebug