aboutsummaryrefslogtreecommitdiffstats
path: root/meta-eca/conf/distro/eca.conf
blob: c139bb47fd872899cd933bfac145a586d491dd9b (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
DISTRO_NAME = "Embedded Connectivity Appliance"
DISTRO_VERSION = "0.9+snapshot-${DATE}"

VIRTUAL-RUNTIME_init_manager = "systemd"
VIRTUAL-RUNTIME_initscripts = ""

include conf/distro/include/default-providers-eca.inc

DISTRO_FEATURES_append = " bluez5 systemd 3g wifi ipv6 nfc zeroconf"

LAYER_CONF_VERSION = "6"

MACHINE_ESSENTIAL_EXTRA_RDEPENDS = ""

DISTRO_FEATURES_BACKFILL_CONSIDERED="sysvinit"

# Enable some of the supported VPN technogies in ConnMan
PACKAGECONFIG_append_pn-connman = " openvpn l2tp pptp"

INHERIT += "extrausers"
EXTRA_USERS_PARAMS = "usermod -p '\$1\$1DO/lR8M\$f8JOOu4W8GBZzdNzCgSW40' root;"

include conf/distro/include/eca-edison.inc
include conf/distro/include/eca-rpi.inc

# We have Broadcom bcm43340 wifi only in Edison
BBMASK .= "${@base_contains("MACHINE", "edison", "", "|meta-eca/meta-eca/recipes-kernel/bcm43340/", d)}"

# Use standard u-boot for Beaglebone
BBMASK .= "${@base_contains("MACHINE", "beaglebone", "|meta-eca/meta-eca-bsp/recipes-bsp/u-boot/", "", d)}"

# eca-image.bbappend has only stuff for edison or quark so mask those
# recipes away otherwise
BBMASK .= "${@oe.utils.ifelse(d.getVar('MACHINE') == "edison" or d.getVar('MACHINE') == "quark",'','|meta-eca/meta-eca-bsp/recipes-eca/images/eca-image.bbappend')}"

# Mask away RaspberryPi stuff
BBMASK .= "${@oe.utils.ifelse(d.getVar('MACHINE') == "raspberrypi" or d.getVar('MACHINE') == "raspberrypi2",'','|meta-eca/meta-eca/recipes-kernel/linux/linux-raspberrypi*')}"