meta-digi-del: Add del-network feature.

This feature requires the addition of meta-openembedded/meta-oe. The
addition of the meta-oe layers breaks the build as recipes of that layer
change existing recipes. Fixes follow.

Signed-off-by: Alex Gonzalez <alex.gonzalez@digi.com>
This commit is contained in:
Alex Gonzalez 2012-11-23 18:38:10 +01:00
parent ed49b32ce1
commit 9534484050
4 changed files with 61 additions and 0 deletions

View File

@ -4,3 +4,4 @@
PACKAGE_GROUP_del-audio = "task-del-audio" PACKAGE_GROUP_del-audio = "task-del-audio"
PACKAGE_GROUP_del-gstreamer = "task-del-gstreamer" PACKAGE_GROUP_del-gstreamer = "task-del-gstreamer"
PACKAGE_GROUP_del-network = "task-del-network"

View File

@ -0,0 +1,51 @@
#
# Copyright (C) 2012 Digi International.
#
DESCRIPTION = "Network applications task for DEL image"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
PACKAGE_ARCH = "${MACHINE_ARCH}"
ALLOW_EMPTY = "1"
PR = "r0"
#
# Set by the machine configuration with packages essential for device bootup
#
MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= ""
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS ?= ""
# Distro can override the following VIRTUAL-RUNTIME providers:
VIRTUAL-RUNTIME_ftp-server ?= ""
#VIRTUAL-RUNTIME_ftp-server ?= "vsftpd"
VIRTUAL-RUNTIME_http-server ?= ""
#VIRTUAL-RUNTIME_http-server ?= "cherokee"
# Choose between ethtool or mii-tool
VIRTUAL-RUNTIME_network-utils ?= "ethtool"
#VIRTUAL-RUNTIME_network-utils ?= "net-tools"
VIRTUAL-RUNTIME_snmp-manager ?= ""
#VIRTUAL-RUNTIME_snmp-manager ?= "net-snmp-server net-snmp-client"
PACKAGES = "\
task-del-network \
task-del-network-dbg \
task-del-network-dev \
"
RDEPENDS_task-del-network = "\
bridge-utils \
socat \
ppp \
iproute2 \
${VIRTUAL-RUNTIME_ftp-server} \
${VIRTUAL-RUNTIME_http-server} \
${VIRTUAL-RUNTIME_network-utils} \
${VIRTUAL-RUNTIME_snmp-manager} \
${MACHINE_ESSENTIAL_EXTRA_RDEPENDS}"
RRECOMMENDS_task-del-network = "\
${MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS}"

View File

@ -0,0 +1,4 @@
PR_del = "r0+${DISTRO}.0"
DEPENDS_append_del += "openssl"
LDFLAGS_del = "-lcap"

View File

@ -12,9 +12,14 @@ LICENSE = "MIT"
inherit core-image inherit core-image
inherit del-image inherit del-image
# These features will move to the project's local.conf
# where they can be customized by platform.
# Only common features to remain here.
IMAGE_FEATURES = "ssh-server-dropbear" IMAGE_FEATURES = "ssh-server-dropbear"
IMAGE_FEATURES += "del-audio" IMAGE_FEATURES += "del-audio"
IMAGE_FEATURES += "del-gstreamer" IMAGE_FEATURES += "del-gstreamer"
IMAGE_FEATURES += "del-network"
# core-image disables the root password if debug-tweak is not enabled. # core-image disables the root password if debug-tweak is not enabled.
# This override will use the shadow file instead. # This override will use the shadow file instead.