summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2005-07-08 23:37:06 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-07-08 23:37:06 +0000
commit9310b1b3d0ee0c7d49e7cb0e6a55b2d3c8c42454 (patch)
treeca7816e2413af56d2df16aca9986ead5a54d725b
parent7d816d1cf57d263d52bb1990de7338165b65fd37 (diff)
kernel.bbclass: Add autoload entries for the bluetooth modules 'hidp' and 'rfcomm'.
This fixes /etc/init.d/bluetooth starting (on kernels which support 'hidp') the bluetooth subsystem, i.e. hcid. Tested on Sharp C7x0 w/ kernel 2.6.12-mm1.
-rw-r--r--classes/kernel.bbclass9
1 files changed, 6 insertions, 3 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass
index 598380be36..8b2186dec6 100644
--- a/classes/kernel.bbclass
+++ b/classes/kernel.bbclass
@@ -184,18 +184,21 @@ if [ x"$D" = "x" ]; then
fi
}
-# defaults
+# autoload defaults (alphabetically sorted)
+module_autoload_hidp = "hidp"
module_autoload_ipv6 = "ipv6"
module_autoload_ipsec = "ipsec"
module_autoload_ircomm-tty = "ircomm-tty"
+module_autoload_rfcomm = "rfcomm"
module_autoload_sa1100-rtc = "sa1100-rtc"
+# alias defaults (alphabetically sorted)
module_conf_bluez = "alias net-pf-31 bluez"
+module_conf_bnep = "alias bt-proto-4 bnep"
+module_conf_hci_uart = "alias tty-ldisc-15 hci_uart"
module_conf_l2cap = "alias bt-proto-0 l2cap"
module_conf_sco = "alias bt-proto-2 sco"
module_conf_rfcomm = "alias bt-proto-3 rfcomm"
-module_conf_bnep = "alias bt-proto-4 bnep"
-module_conf_hci_uart = "alias tty-ldisc-15 hci_uart"
python populate_packages_prepend () {
def extract_modinfo(file):