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