diff options
author | Tom Zanussi <tom.zanussi@intel.com> | 2012-09-14 14:07:34 -0500 |
---|---|---|
committer | Tom Zanussi <tom.zanussi@intel.com> | 2012-09-15 15:02:17 -0500 |
commit | 2231d3800e94e39a6cc77473c6654cb221e7e55b (patch) | |
tree | 7d0ea5b2a6c8f41832a33dd501b4a76bf1688193 /meta-crownbay/conf/machine | |
parent | 164e0c7418229a38d7c97cd6bb3117a89869f6a4 (diff) | |
download | meta-intel-2231d3800e94e39a6cc77473c6654cb221e7e55b.tar.gz |
meta-intel: make video acceleration choice dependent on LICENSE_FLAGS
The gst-ffmpeg recipe in oe-core had LICENSE_FLAGS added to make it
"commercial", so to avoid build errors the BSPs that use it (via the
gst-va-intel VA_FEATURE) should only include it if the user has added
"commercial" to LICENSE_FLAGS_WHITELIST when building.
This adds a conditional to detect that, along with a NOTE in the
README to explain the need for the flag.
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Diffstat (limited to 'meta-crownbay/conf/machine')
-rw-r--r-- | meta-crownbay/conf/machine/crownbay.conf | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-crownbay/conf/machine/crownbay.conf b/meta-crownbay/conf/machine/crownbay.conf index c4b7682d..40dbd1d1 100644 --- a/meta-crownbay/conf/machine/crownbay.conf +++ b/meta-crownbay/conf/machine/crownbay.conf | |||
@@ -23,6 +23,7 @@ PREFERRED_VERSION_xf86-input-evdev ?= "2.6.0" | |||
23 | 23 | ||
24 | APPEND += "video=vesafb vga=0x318" | 24 | APPEND += "video=vesafb vga=0x318" |
25 | 25 | ||
26 | VA_FEATURES ?= "gst-va-intel va-intel" | 26 | VA_FEATURES = "${@bb.utils.contains("LICENSE_FLAGS_WHITELIST", \ |
27 | "commercial", "gst-va-intel va-intel", "va-intel", d)}" | ||
27 | 28 | ||
28 | MACHINE_EXTRA_RRECOMMENDS += "${VA_FEATURES}" | 29 | MACHINE_EXTRA_RRECOMMENDS += "${VA_FEATURES}" |