blob: 53e4a1e6c41b612831178fd37a49e217bb2b997e (
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
93
94
95
|
inherit image
DISTRO_SSH_DAEMON ?= "dropbear"
# remove kernel package from rootfs to save space
# uImage is flashed to a different partition, so it isn't needed
PACKAGE_REMOVE = "kernel-image-*"
ROOTFS_POSTPROCESS_COMMAND += "opkg-cl ${IPKG_ARGS} -force-depends \
remove ${PACKAGE_REMOVE};"
CORE_FEATURES = "u-boot sysfsutils module-init-tools kernel-modules \
mtd-utils \
usbutils usb-gadget-mode \
bash \
procps \
"
FILESYSTEM_FEATURES = "e2fsprogs e2fsprogs-mke2fs e2fsprogs-fsck \
dosfstools \
cifs \
"
NETWORKING_FEATURES = "ppp \
iptables iptables-utils \
netkit-ftp lftp curl \
openssl \
openssh-sftp-server \
rsync \
iperf \
"
WIFI_FEATURES = " \
libnl \
wpa-supplicant \
wireless-tools \
iw \
"
WL1271_SUPPORT = " \
ti-compat-wireless-wl12xx wl12xx-firmware \
ti-wifi-utils \
"
BLUETOOTH_FEATURES = "bluez4"
TIME_FEATURES = "tzdata \
cron \
ntpdate \
"
# mts-io: IO Controller for Multi-Tech hardware.
# (LEDs, temp sensor, serial lines, and more)
#
# config: Handles default config files stored in /var/config.
# /var/config is mounted on separate flash partition so that config
# files survive flashing of rootfs. See recipe for details.
#
# u-boot-linux-utils: U-Boot environment access from Linux
MULTITECH_FEATURES = "mts-io \
mts-id-eeprom \
config \
u-boot-linux-utils \
"
# Tools to flash kernel and rootfs on reboot
UPGRADE_FEATURES = "upgrade-reboot mtd-utils-static"
MISC_FEATURES = "minicom lrzsz nano"
# All the packages to be installed
IMAGE_INSTALL = "task-boot \
util-linux-ng-mount util-linux-ng-umount \
${DISTRO_SSH_DAEMON} \
${CORE_FEATURES} \
${FILESYSTEM_FEATURES} \
${NETWORKING_FEATURES} \
${TIME_FEATURES} \
${MULTITECH_FEATURES} \
${UPGRADE_FEATURES} \
${MISC_FEATURES} \
"
# Add Wi-fi/Bluetooth support for devices that support it
IMAGE_INSTALL_append_mtocgd3 = " ${WIFI_FEATURES} ${WL1271_SUPPORT} ${BLUETOOTH_FEATURES} "
IMAGE_INSTALL_append_mt100eocg-pcie-dk = " ${WIFI_FEATURES} ${WL1271_SUPPORT} ${BLUETOOTH_FEATURES} "
# Add exar usb-serial driver for mtocgd3 hardware
IMAGE_INSTALL_append_mtocgd3 += "vizzini"
IMAGE_PREPROCESS_COMMAND = "create_etc_timestamp"
export IMAGE_BASENAME = "corecdp-base-image"
IMAGE_LINGUAS = ""
require corecdp-tftpboot.inc
|