Le 17/08/2015 15:21, [email protected] a écrit :
> I have tried compiling for Android One (Sprout) using someone's repository in 
> Github and got to a lot of problems but I kinda figured out that FFOS 
> compilling pretty much relies on CyanogenMod files when it comes to mobile 
> devices that are not supported so here's what I did:
> 
> 1 - Executed
> git clone https://github.com/mozilla-b2g/B2G.git
> git clone https://github.com/mozilla-b2g/b2g-manifest.git
> 
> 2 - created sprout.xml
> <?xml version="1.0" encoding="UTF-8"?>
> <manifest>
> <include name="base-l-aosp.xml"/>
> <default remote="github" fetch="https://github.com"; />
>  <project path="device/google/sprout" 
> name="varunchitre15/android_device_google_sprout" remote="github" 
> revision="cm-12.1" />
>   <project path="vendor/google/sprout" 
> name="varunchitre15/android_vendor_google_sprout" remote="github" 
> revision="cm-11.0" />
>   <project path="kernel/google/sprout" 
> name="varunchitre15/android_kernel_mediatek_sprout" remote="github" 
> revision="cm-12.1" />
> </manifest>

That is probably not enough. I don't know this device so I cannot help
you for this. Please cross check the repositories that are being used by
CM for building this file.

Also, please note you are using a L AOSP base, which might be not
compatible with the CM branches you are using for this device.

This bug might help https://bugzilla.mozilla.org/show_bug.cgi?id=1080483

> 
> 3 - edited config.sh
> GITREPO=${GITREPO:-"file:///home/yourname/b2g-manifest"}
> BRANCH=${BRANCH:-master}

No need for this. You can just skip to Step 4.

> 
> 4 - added sprout to config.sh
> 'coz it won't execute it without sprout being added further

Which is expected, since the config.sh is here to document which repo
manifest to use.

> 
> 5 - added sprout to git
> git add sprout.xml
> commit -a -m "Sprout change"
> 
> 6 - Error
> fatal: manifest 'sprout.xml' not available
> fatal: remote github not defined in 
> /home/zigmund/B2G/.repo/manifests/sprout.xml

Issuing: BRANCH=xxx GITREPO=... ./config.sh sprout

That should work. Make sure you added sprout.xml to the proper branch.
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to