summaryrefslogtreecommitdiff
path: root/conf/distro/switchbox.conf
blob: ff20708da250b4a3da0b0d4dd3553938f3fc7007 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#@TYPE: Distribution
#@NAME: SwitchBox
#@DESCRIPTION: SwitchBox Linux Distribution for the NSLU2

TARGET_FPU = "soft"
TARGET_OS = "linux-uclibc"

INHERIT += " package_ipk debian"

IMAGE_FSTYPE = "ext2.gz"
IMAGE_ROOTFS_SIZE_ext2 = "1024"
IMAGE_ROOTFS_SIZE_ext2.gz = "1024"

SWITCHBOX_DEVICE_TABLE = "${@bb.which(bb.data.getVar('BBPATH', d, 1), 'files/device_table-unslung.txt')}"
EXTRA_IMAGECMD_ext2.gz = "-r 0 -i 512 -f ${SWITCHBOX_DEVICE_TABLE}"

USE_NLS = "no"

# Whether to use the old shell hotplug or the new C hotplug is a
# distribution decision.
BOOTSTRAP_EXTRA_DEPENDS += "linux-hotplug"
BOOTSTRAP_EXTRA_RDEPENDS += "linux-hotplug"