no I had Android.bp. I gain tried.

```
prebuilt_kernel_modules {
    name: "foo",
    srcs: ["foo.ko"],
    vendor: true,
}
```
Its still not found I resorted to using `BOARD_VENDOR_KERNEL_MODULES := 
$(LOCAL_DIR)/foo.ko`

On Wednesday, 17 November 2021 at 00:16:00 UTC+2 
[email protected] wrote:

> Do you actually have double "p" in Android.bpp?
>
> Other explanation would be that there is soong namespace defined above and 
> not added to PRODUCT_SOONG_NAMESPACES.
>
> BR, 
>
> K.
> ------------------------------
> *From:* [email protected] <[email protected]> on 
> behalf of Bret Joseph <[email protected]>
> *Sent:* Monday, November 15, 2021 06:47
> *To:* Android Building <[email protected]>
> *Subject:* [android-building] How do I install a prebuilt module? 
>  
> I have in device/foo/bar/module/Android.bpp
> ```
> cc_prebuilt_library_shared {
>     name: "foo",
>     srcs: ["foo"],
>     vendor: true,
> }
> ```
> I include PRODUCT_PACKAGES += foo in device/foo/bar/device.mk
>
> when I run mka *foo* it says module in unknown
>
> -- 
> -- 
> 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 
> <https://eur02.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgroups.google.com%2Fgroup%2Fandroid-building%3Fhl%3Den&data=04%7C01%7Ckrzysztof.wesolowski%40volvocars.com%7C4246e29380cb4171fdd808d9a86fda2e%7C81fa766ea34948678bf4ab35e250a08f%7C0%7C0%7C637726454320176708%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=igOboh2JYOPBKY15%2FJnxYYVNIb9K53oR40y2DWzvSkk%3D&reserved=0>
>
> --- 
> 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/b0a10fe7-9962-4cd7-8bc2-45a59a39de2bn%40googlegroups.com
>  
> <https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fandroid-building%2Fb0a10fe7-9962-4cd7-8bc2-45a59a39de2bn%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter&data=04%7C01%7Ckrzysztof.wesolowski%40volvocars.com%7C4246e29380cb4171fdd808d9a86fda2e%7C81fa766ea34948678bf4ab35e250a08f%7C0%7C0%7C637726454320186701%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=diVFKQEwhATuqknEKuURu7e7qllkGW8RhkZJAtu%2BuEY%3D&reserved=0>
> .
>

-- 
-- 
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/03171d41-56f3-4fa9-822b-29b70c1e4d22n%40googlegroups.com.

Reply via email to