Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
Android Building
Conversations
About
How do I install a prebuilt module?
112 views
Skip to first unread message
Bret Joseph
unread,
Nov 15, 2021, 2:41:00 PM
11/15/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Android Building
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
Wesolowski, Krzysztof
unread,
Nov 16, 2021, 5:16:00 PM
11/16/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to android-...@googlegroups.com
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:
android-...@googlegroups.com
<
android-...@googlegroups.com
> on behalf of Bret Joseph <
bretj...@gmail.com
>
Sent:
Monday, November 15, 2021 06:47
To:
Android Building <
android-...@googlegroups.com
>
Subject:
[android-building] How do I install a prebuilt module?
--
--
You received this message because you are subscribed to the "Android Building" mailing list.
To post to this group, send email to
android-...@googlegroups.com
To unsubscribe from this group, send email to
android-buildi...@googlegroups.com
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
android-buildi...@googlegroups.com
.
To view this discussion on the web visit
https://groups.google.com/d/msgid/android-building/b0a10fe7-9962-4cd7-8bc2-45a59a39de2bn%40googlegroups.com
.
Bret Joseph
unread,
Dec 4, 2021, 3:20:40 PM
12/4/21
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Android Building
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`
Reply all
Reply to author
Forward
0 new messages