Patchwork [2/3] packagegroup-base.bb: add a new machine feature: v4l2

login
register
mail settings
Submitter Nitin A Kamble
Date Aug. 8, 2013, 9:34 p.m.
Message ID <83539c1ee1aa0bf122c88b9c23275f4914330d99.1375996888.git.nitin.a.kamble@intel.com>
Download mbox | patch
Permalink /patch/55361/
State New
Headers show

Comments

Nitin A Kamble - Aug. 8, 2013, 9:34 p.m.
From: Nitin A Kamble <nitin.a.kamble@intel.com>

This new machine feature gives a choice to add the video for linux 2
drivers and related utilities to BSPs.

Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
---
 meta/recipes-core/packagegroups/packagegroup-base.bb | 8 ++++++++
 1 file changed, 8 insertions(+)

Patch

diff --git a/meta/recipes-core/packagegroups/packagegroup-base.bb b/meta/recipes-core/packagegroups/packagegroup-base.bb
index 1c0c757..839c400 100644
--- a/meta/recipes-core/packagegroups/packagegroup-base.bb
+++ b/meta/recipes-core/packagegroups/packagegroup-base.bb
@@ -24,6 +24,7 @@  PACKAGES = ' \
             ${@base_contains("MACHINE_FEATURES", "serial", "packagegroup-base-serial", "", d)} \
             ${@base_contains("MACHINE_FEATURES", "usbgadget", "packagegroup-base-usbgadget", "", d)} \
             ${@base_contains("MACHINE_FEATURES", "usbhost", "packagegroup-base-usbhost", "", d)} \
+            ${@base_contains("MACHINE_FEATURES", "v4l2", "packagegroup-base-v4l2", "", d)} \
             \
             ${@base_contains("DISTRO_FEATURES", "bluetooth", "packagegroup-base-bluetooth", "", d)} \
             ${@base_contains("DISTRO_FEATURES", "wifi", "packagegroup-base-wifi", "", d)} \
@@ -60,6 +61,7 @@  RDEPENDS_packagegroup-base = "\
     ${@base_contains('MACHINE_FEATURES', 'acpi', 'packagegroup-base-acpi', '',d)} \
     ${@base_contains('MACHINE_FEATURES', 'keyboard', 'packagegroup-base-keyboard', '',d)} \
     ${@base_contains('MACHINE_FEATURES', 'phone', 'packagegroup-base-phone', '',d)} \
+    ${@base_contains('MACHINE_FEATURES', 'v4l2', 'packagegroup-base-v4l2', '',d)} \
     \
     ${@base_contains('COMBINED_FEATURES', 'alsa', 'packagegroup-base-alsa', '',d)} \
     ${@base_contains('COMBINED_FEATURES', 'ext2', 'packagegroup-base-ext2', '',d)} \
@@ -355,6 +357,12 @@  SUMMARY_packagegroup-base-zeroconf = "Zeroconf support"
 RDEPENDS_packagegroup-base-zeroconf = "\
     avahi-daemon"
 
+SUMMARY_packagegroup-base-v4l2 = "Video for Linux 2 support"
+RDEPENDS_packagegroup-base-v4l2 = "\
+    kernel-module-v4l2-int-device \
+    kernel-module-v4l2-common \
+    v4l-utils"
+
 SUMMARY_packagegroup-base-ipv6 = "IPv6 support"
 RDEPENDS_packagegroup-base-ipv6 = "\
     "