aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/tasks/task-mokogateway.bb
blob: a1e0bc2b0282ee6f96e4be305d854abdc1e208b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
DESCRIPTION = "MokoGateway: Tasks for a companion server for the Openmoko Linux Distribution"
LICENSE = "MIT"
PROVIDES = "task-mokogateway-everything"
PR = "r6"

inherit task

PACKAGES = "\
	task-mokogateway-everything \
	${MOKOGATEWAY_PACKAGES} \
"

MOKOGATEWAY_PACKAGES = "\
	task-mokogateway-usbnet \
	task-mokogateway-bluetooth \
	task-mokogateway-wifi \
	task-mokogateway-debug \
"

RDEPENDS_task-mokogateway-everything = "${MOKOGATEWAY_PACKAGES}"

DESCRIPTION_task-mokogateway-usbnet = "MokoGateway: USB Networking"
RDEPENDS_task-mokogateway-usbnet = "\
	iptables \
"
RRECOMMENDS_task-mokogateway-usbnet = "\
	kernel-module-usbnet \
	kernel-module-cdc-acm \
	kernel-module-cdc-ether \
	kernel-module-iptable-nat \
	kernel-module-ipt-masquerade \
"

DESCRIPTION_task-mokogateway-bluetooth = "MokoGateway: Bluetooth"
RDEPENDS_task-mokogateway-bluetooth = "\
	bluez4 \
"
RRECOMMENDS_task-mokogateway-bluetooth = "\
	kernel-module-bluetooth \
	kernel-module-l2cap \
	kernel-module-rfcomm \
	kernel-module-hci-vhci \
	kernel-module-bnep \
	kernel-module-hidp \
	kernel-module-hci-uart \
	kernel-module-sco \
	${@base_contains("COMBINED_FEATURES", "usbhost", "kernel-module-hci-usb", "",d)} \
	${@base_contains("COMBINED_FEATURES", "pcmcia",  "kernel-module-bluetooth3c-cs", "",d)} \
	${@base_contains("COMBINED_FEATURES", "pcmcia",  "kernel-module-bluecard-cs", "",d)} \
	${@base_contains("COMBINED_FEATURES", "pcmcia",  "kernel-module-bluetoothuart-cs", "",d)} \
	${@base_contains("COMBINED_FEATURES", "pcmcia",  "kernel-module-dtl1-cs", "",d)} \
"

DESCRIPTION_task-mokogateway-wifi = "MokoGateway: WiFi"
RDEPENDS_task-mokogateway-wifi = "\
	bridge-utils \
	wireless-tools \
	${@base_contains("COMBINED_FEATURES", "madwifi", "madwifi-ng-modules", "",d)} \
	${@base_contains("COMBINED_FEATURES", "madwifi", "madwifi-ng-tools", "",d)} \
	wpa-supplicant \
"
RRECOMMENDS_task-mokogateway-wifi = "\
	kernel-module-ieee80211-crypt \
	kernel-module-ieee80211-crypt-ccmp \
	kernel-module-ieee80211-crypt-tkip \
	kernel-module-ieee80211-crypt-wep \
	kernel-module-arc4 \
	kernel-module-michael-mic \
	kernel-module-aes \
	${@base_contains("COMBINED_FEATURES", "usbhost", "kernel-module-zd1211rw", "",d)} \
	${@base_contains("COMBINED_FEATURES", "usbhost", "zd1211-firmware", "",d)} \
"

DESCRIPTION_task-mokogateway-debug = "MokoGateway: Debug"
RDEPENDS_task-mokogateway-debug = "\
"
# The following packages are broken -- victims of libusb confusion.
# These packages depend upon libusb, which provides libusb.a -- however
# everything else depends upon libusb-compat, which also provides libusb.a
# (this includes bluez-*, usbutils-*, hal-*, libhal-*, etc).  The wrong
# libusb.a is staged for at least somebody.  The hacky solution right now
# is to not build these two utils, as they are the only ones in common use
# that DEPEND upon libusb.  This needs to be fixed in a better way, but this
# will, at least, get the feeds working again.
#	dfu-util \
#	openocd \
#
# The following packages are obsolete, and have been replaced.
#	bluez-utils \

RRECOMMENDS_task-mokogateway-debug = "\
"