aboutsummaryrefslogtreecommitdiff
path: root/recipes/images/sdr-image.bb
blob: 55a59a285d352f886faf1698659f9382f89977a7 (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
#Angstrom SDR image
# An image with tools for software defined radio and unicorn radio

# TODO: 
# X demo
# xorg.conf

PR = "r3"

IMAGE_PREPROCESS_COMMAND = "create_etc_timestamp"

# Also generate tar.bz2 images for use on e.g. SD or nfsroot
IMAGE_FSTYPES += "tar.bz2"

ANGSTROM_EXTRA_INSTALL ?= ""
DISTRO_SSH_DAEMON ?= "dropbear"
XSERVER ?= "xserver-kdrive-fbdev"
SPLASH ?= ' ${@base_contains("MACHINE_FEATURES", "screen", "psplash-angstrom", "",d)}'

# Install "big" X if the target has a screen
GUIPACKAGES_BIGX = " \
        xf86-input-evdev \
        xf86-input-mouse \
        xf86-video-dummy \
        xf86-video-fbdev \
        ${@base_contains("COMBINED_FEATURES", "usbhost", "xf86-video-sisusb", "",d)} \
        xf86-video-vesa \
"

GUIPACKAGES = " \
	${XSERVER} \
	angstrom-x11-base-depends \
	angstrom-gpe-task-base \
	angstrom-gpe-task-settings \
	xterm e-wm \
"

IMAGE_INSTALL = " task-base-extended \
	kernel-modules \
	gnuradio gnuradio-usrp \
	screen procps \
	${@base_contains("MACHINE_FEATURES", "screen", "${GUIPACKAGES}", "",d)} \
	python-core perl \
	uucp picocom \
	angstrom-zeroconf-audio avahi-utils \
	${ANGSTROM_EXTRA_INSTALL} \
        ${SPLASH} \
"

inherit image