Do an if statement to import the additional module repo build instructions

On Wednesday, July 21, 2021 at 2:05:32 PM UTC-5 [email protected] wrote:

> Thanks - the pointer is much appreciated and helpful.
>
> A board vendor has already created an aosp build for their board, so they 
> have a device/<company> and vendor/<company> directory and they are 
> building 2 things - an aosp_<codename> image and a <codename> image. So we 
> think we just need to use the aosp_<codename> build to create the baseline 
> image for our product which will run on this same board. Then we will add 
> some libraries and an application which is our product derivative off of 
> this board's AOSP image. Then somehow we will ultimately need to walk 
> through everything they are building in their aosp image that we don't need 
> and prune that stuff out somehow.
>
> The first thing we did is the manual version of the script you pointed us 
> to. Then somehow reference the board manufacturers' /device and /vendor TOP 
> directories. Then we thought we could simply use the overlay mechanism to 
> add the libraries and application for our product to the board vendor's 
> aosp image. But this is resulting in a bunch of errors.
>
> We also tried the brute force approach - basically copying over files from 
> the /device/<company> directory into our device/<ourcompany> directory 
> until we can build an image. We did manage to get that to work, but we 
> don't know if that is what we're supposed to do or not. It works, but if 
> the board vendor changes anything in their build environment, we would need 
> to go through an iteration of figuring out which files changed and then 
> change those things in our directory - because of this, it feels like this 
> is not the right approach.
>
> What's missing is a good example of how a company is supposed to use the 
> build environment for a board that has already created an Android AOSP 
> image and simply add their modules to create the image for their product. 
> IT seems like this should be very simple, but we haven't come across the 
> magic formula yet.
>
> Thanks!
> Curt
>
>
> On Tue, Jul 20, 2021 at 9:40 AM [email protected] <
> [email protected]> wrote:
>
>> Hi,
>>
>> I'm not sure how current the information is, but in device/common is a
>> script called populate-new-device.sh, which creates some boilerplate as
>> a starting point.
>>
>> I hope that helps.
>> [email protected] schrieb am Mittwoch, 14. Juli 2021 um 05:56:32 
>> UTC+2:
>>
>>> Hello,
>>>
>>> We're planning to use an existing board build on the AOSP and we want to 
>>> create a new product build based on this existing one plus the additional 
>>> application software we add.
>>>
>>> I can't seem to find an up-to-date description of how to do this - they 
>>> best I found was a powerpoint from 2015 that is what I'm looking for except 
>>> that it's out of date.
>>>
>>> If anyone has any up-to-date descriptions or links to descriptions on 
>>> how to do this, I'd really appreciate them!
>>>
>> -- 
>> -- 
>> You received this message because you are subscribed to the "Android 
>> Building" mailing list.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/android-building?hl=en
>>
>> --- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "Android Building" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/android-building/A2adhSfvC5c/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to 
>> [email protected].
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/android-building/39ea1101-c1ed-4343-a9d0-6b589fba007cn%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/android-building/39ea1101-c1ed-4343-a9d0-6b589fba007cn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-building/a6825ff2-4989-4619-83d1-b4d9d641c37bn%40googlegroups.com.

Reply via email to