[Freedreno] [GSoC-15] Enabling Freedreno on Android

Daniel Thompson daniel.thompson at linaro.org
Wed Apr 8 05:03:37 PDT 2015


On 07/04/15 17:13, Varad Gautam wrote:
> Hi Daniel,
>
> On 04/07/2015 06:11 PM, Daniel Thompson wrote:
>> On 05/04/15 18:35, Varad Gautam wrote:
>>> Thanks Rob, Emil. While android-x86 [1] is down, I am going with
>>>  android-ifc6410 with a rebased mesa.
>>>
>>> Daniel,
>>
>> Hi Varad.
>>
>>> I had the following errors while building android-ifc6410 [2]:
>>>
>>> [...] build/core/base_rules.mk:154: ***
>>> device/linaro/vexpress/audio:
>>> MODULE.TARGET.SHARED_LIBRARIES.audio.primary.vexpress already
>>> defined by device/linaro/ifc6410/audio.  Stop.
>>>
>>> #### make failed to build some targets (01:15 (mm:ss)) ####
>>>
>>> [...] including ./external/libdrm/Android.mk ...
>>> build/core/base_rules.mk:154: *** external/libdrm:
>>> MODULE.TARGET.SHARED_LIBRARIES.libdrm already defined by
>>> external/drm. Stop.
>>>
>>> #### make failed to build some targets (01:20 (mm:ss)) ####
>>>
>>> [...] including
>>> ./kernel/linaro/vexpress/tools/gator/daemon/Android.mk ...
>>> build/core/base_rules.mk:154: ***
>>> kernel/linaro/vexpress/tools/gator/daemon:
>>> MODULE.TARGET.EXECUTABLES.gatord already defined by
>>> kernel/linaro/armv8/tools/gator/daemon.  Stop.
>>>
>>> #### make failed to build some targets (01:54 (mm:ss)) ####
>>>
>>>
>>> As a temporary fix, I have dropped device/linaro/vexpress/audio,
>>>  external/libdrm and kernel/linaro/armv8/tools/gator/daemon from
>>> the build. Would it be okay if these duplicates are removed from
>>> the build permanently for ifc6410?
>>
>> None of these directories should exist in the first place! They are
>> present in the manifest but we use the grouping feature of repo to
>> prevent them from being checked out for ifc6410.
>>
>> Could you check your command line history for the arguments you
>> provided to "repo init" and share this?
>
> I used
>
> $ repo init -u
> http://android.git.linaro.org/git/platform/manifest.git -b
> android-5.0.2_r1 -g default,-non-default,ifc6410
>
> but looks like I have everything in the non-default group (like
> device/linaro/juno and uefi) cloned too.

Weird.

What does your .repo/manifests.git/config look like? I think this file 
is where what you type during repo init is stored. Mine is:
--- cut here ---
[core]
         repositoryformatversion = 0
         filemode = true
[remote "origin"]
         url = http://android.git.linaro.org/git/platform/manifest.git
         fetch = +refs/heads/*:refs/remotes/origin/*
[manifest]
         groups = default,-non-default,ifc6410,platform-linux
[branch "default"]
         remote = origin
         merge = android-5.0.2_r1
--- cut here ---


>> In the mean time I'll try a complete repo init/sync from scratch to
>> double check if I get the same thing (this will take a long time so
>> don't expect results before tomorrow).
>>
>
> Thank you! I suspect I've missed something, but it would be good to
> verify.

The test I ran last night did not check out any of the paths you 
indicated were causing build problems. At the moment it looks like 
something has gone wrong with your repo init or sync although right now 
I have no idea what.


Daniel.


More information about the Freedreno mailing list