Thanks Magnus, I understand your point. Yes, it'll work if its
AndroidProducts.mk is located under vendor folder. Is there any way
that makes it work without putting this mk file under vendor folder. I
mean if there is any configure file that I can modify to indicate the
location of my own AndroidProducts.mk.

Thanks,
Wendong

On Aug 13, 3:30 pm, Magnus Bäck <[email protected]> wrote:
> On Tuesday, August 10, 2010 at 10:44 CEST,
>      Wendong <[email protected]> wrote:
>
> > I understand that Android platform provides the ability to build
> > users' own sdk addon with customized libraries, and I can find the
> > sample code in vendor/sample folder. I tried to build the sample
> > addon, and it's successful.
>
> > However, I want to know whether or not I can create my own addon
> > library in other location instead of "vendor/sample".
>
> Yes, of course you can.
>
> > When I tried to create the same folder structure in other location,
> > the build failed with the following message:
> > $ make -j8 PRODUCT-myaddon-sdk_addon
> > build/core/product_config.mk:173: *** No matches for product
> > "myaddon".  Stop.
>
> Have you put an AndroidProducts.mk file in your vendor/something
> directory, listing all the products you define? In the vendor/sample
> directory that file resides together with the product configuration
> file (sample_addon.mk).
>
> [...]
>
> --
> Magnus B ck                      Opinions are my own and do not necessarily
> SW Configuration Manager         represent the ones of my employer, etc.
> Sony Ericsson

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to