diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2022-02-18 19:43:56 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2022-02-21 20:06:28 -0300 |
commit | 30f5ce1d2168389295b4813e01898c2fb0f9bab9 (patch) | |
tree | f6f78dbf8e5eef40510739dc1db79d60f05189fb /recipes-multimedia | |
parent | a3b102a9ed12ea03e72f713ed40968da1776c6d3 (diff) | |
download | meta-freescale-30f5ce1d2168389295b4813e01898c2fb0f9bab9.tar.gz |
Generalize overrides subsystem for NXP and Mainline support
Essentially, we extend the overrides to a generic-bsp, nxp-bsp, and
mainline-bsp.
So, for example, the mx8mq override is split into:
- imx-generic-bsp: compatible with every i.MX SoC and both BSP variants
- imx-nxp-bsp: compatible with every i.MX SoC but specific to NXP BSP
- imx-mainline-bsp: compatible with every i.MX SoC but specific to Mainline BSP
- mx8-generic-bsp: compatible with every i.MX8 SoC and both BSP variants
- mx8-nxp-bsp: compatible with every i.MX8 SoC but specific to NXP BSP
- mx8-mainline-bsp: compatible with every i.MX8 SoC but specific to Mainline BSP
- mx8m-generic-bsp: compatible with every i.MX8M SoC and both BSP variants
- mx8m-nxp-bsp: compatible with every i.MX8M SoC but specific to NXP BSP
- mx8m-mainline-bsp: compatible with every i.MX8M SoC but specific to Mainline BSP
- mx8mq-generic-bsp: compatible with every i.MX8MQ SoC and both BSP variants
- mx8mq-nxp-bsp: compatible with every i.MX8MQ SoC8 but specific to NXP BSP
- mx8mq-mainline-bsp: compatible with every i.MX8MQ SoC but specific to Mainline BSP
The extender mechanism is responsible for extending the override list to
include the generic overrides. We can then use the three different
variants to handle the metadata correctly.
Generically speaking, the conversion mainly was automated (with a lot of
back and forth until getting it right).
To convert an existing layer, the following script can be used:
```sh
git ls-files classes recipes-* \
| xargs sed -i \
-e 's,:\(mx[6-8]\w*\),:\1-nxp-bsp,g' \
-e 's,(\(mx[6-8]\w*\)),(\1-nxp-bsp),g' \
-e 's,\(mx[6-8]\w*\)|,\1-nxp-bsp|,g' \
-e 's,|\(mx[6-8]\w*\)),|\1-nxp-bsp),g' \
\
-e 's,:\(mx[5s]\w*\),:\1-generic-bsp,g' \
-e 's,(\(mx[5s]\w*\)),(\1-generic-bsp),g' \
-e 's,\(mx[5s]\w*\)|,\1-generic-bsp|,g' \
-e 's,|\(mx[5s]\w*\)),|\1-generic-bsp),g' \
\
-e 's,:\(vf\w*\),:\1-generic-bsp,g' \
-e 's,:\(vf[56]0\w*\),:\1-generic-bsp,g' \
-e 's,\(vf\w*\)|,\1-generic-bsp|,g' \
-e 's,|\(vf\w*\)),|\1-generic-bsp),g' \
-e 's,\(vf[56]0\w*\)|,\1-generic-bsp|,g' \
-e 's,|\(vf[56]0\w*\)),|\1-generic-bsp),g' \
\
-e 's,:\(imx\) ,:\1-nxp-bsp ,g' \
-e 's,(\(imx\)),(\1-nxp-bsp),g' \
-e 's,\(imx\)|,\1-nxp-bsp|,g' \
-e 's,|\(imx\)),|\1-nxp-bsp),g'
for d in $(find -type d | egrep '/mx[6-8]w*'); do
git mv $d $d-nxp-bsp
done
for d in $(find -type d | egrep '/imx$'); do
git mv $d $d-nxp-bsp
done
for d in $(find -type d | egrep '/mx[5s]w*'); do
git mv $d $d-generic-bsp
done
```
Fixes: #791.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-multimedia')
24 files changed, 53 insertions, 53 deletions
diff --git a/recipes-multimedia/alsa/alsa-lib_%.bbappend b/recipes-multimedia/alsa/alsa-lib_%.bbappend index d76c45d1e..8a13d4c10 100644 --- a/recipes-multimedia/alsa/alsa-lib_%.bbappend +++ b/recipes-multimedia/alsa/alsa-lib_%.bbappend | |||
@@ -6,6 +6,6 @@ IMX_PATCH = " \ | |||
6 | file://0005-add-ak4458-conf-for-multichannel-support.patch \ | 6 | file://0005-add-ak4458-conf-for-multichannel-support.patch \ |
7 | file://0006-add-conf-for-iMX-XCVR-sound-card.patch \ | 7 | file://0006-add-conf-for-iMX-XCVR-sound-card.patch \ |
8 | " | 8 | " |
9 | SRC_URI:append:imx = "${IMX_PATCH}" | 9 | SRC_URI:append:imx-nxp-bsp = "${IMX_PATCH}" |
10 | 10 | ||
11 | PACKAGE_ARCH:imx = "${MACHINE_SOCARCH}" | 11 | PACKAGE_ARCH:imx-nxp-bsp = "${MACHINE_SOCARCH}" |
diff --git a/recipes-multimedia/alsa/imx-alsa-plugins_1.0.26.bb b/recipes-multimedia/alsa/imx-alsa-plugins_1.0.26.bb index 96b6392d6..634508f9e 100644 --- a/recipes-multimedia/alsa/imx-alsa-plugins_1.0.26.bb +++ b/recipes-multimedia/alsa/imx-alsa-plugins_1.0.26.bb | |||
@@ -33,4 +33,4 @@ FILES:${PN} += "${libdir}/alsa-lib/libasound_*.so" | |||
33 | FILES:${PN}-dbg += "${libdir}/alsa-lib/.debug" | 33 | FILES:${PN}-dbg += "${libdir}/alsa-lib/.debug" |
34 | FILES:${PN}-dev += "${libdir}/alsa-lib/*.la" | 34 | FILES:${PN}-dev += "${libdir}/alsa-lib/*.la" |
35 | 35 | ||
36 | COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" | 36 | COMPATIBLE_MACHINE = "(mx6-nxp-bsp|mx7-nxp-bsp|mx8-nxp-bsp)" |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.18.0.bb b/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.18.0.bb index 73d8c429a..2d16a3f26 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.18.0.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.18.0.bb | |||
@@ -23,4 +23,4 @@ inherit meson pkgconfig upstream-version-is-even | |||
23 | FILES:${PN} += "${libdir}/gstreamer-1.0/*.so" | 23 | FILES:${PN} += "${libdir}/gstreamer-1.0/*.so" |
24 | FILES:${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a" | 24 | FILES:${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a" |
25 | 25 | ||
26 | COMPATIBLE_MACHINE = "(imx)" | 26 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.18.0.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.18.0.imx.bb index aec2bb018..c3f4cf25b 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.18.0.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.18.0.imx.bb | |||
@@ -1,14 +1,14 @@ | |||
1 | require recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc | 1 | require recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc |
2 | 2 | ||
3 | DEPENDS:append:imxgpu2d = " virtual/libg2d" | 3 | DEPENDS:append:imxgpu2d = " virtual/libg2d" |
4 | DEPENDS:append:mx8 = " libdrm" | 4 | DEPENDS:append:mx8-nxp-bsp = " libdrm" |
5 | 5 | ||
6 | PACKAGECONFIG:append:mx8 = " kms tinycompress" | 6 | PACKAGECONFIG:append:mx8-nxp-bsp = " kms tinycompress" |
7 | 7 | ||
8 | DEFAULT_PREFERENCE = "-1" | 8 | DEFAULT_PREFERENCE = "-1" |
9 | 9 | ||
10 | PACKAGE_ARCH:imxpxp = "${MACHINE_SOCARCH}" | 10 | PACKAGE_ARCH:imxpxp = "${MACHINE_SOCARCH}" |
11 | PACKAGE_ARCH:mx8 = "${MACHINE_SOCARCH}" | 11 | PACKAGE_ARCH:mx8-nxp-bsp = "${MACHINE_SOCARCH}" |
12 | 12 | ||
13 | GST1.0-PLUGINS-BAD_SRC ?= "gitsm://source.codeaurora.org/external/imx/gst-plugins-bad.git;protocol=https;branch=master" | 13 | GST1.0-PLUGINS-BAD_SRC ?= "gitsm://source.codeaurora.org/external/imx/gst-plugins-bad.git;protocol=https;branch=master" |
14 | SRCBRANCH = "MM_04.06.01_2105_L5.10.y" | 14 | SRCBRANCH = "MM_04.06.01_2105_L5.10.y" |
@@ -160,4 +160,4 @@ FILES:${PN}-voamrwbenc += "${datadir}/gstreamer-1.0/presets/GstVoAmrwbEnc.prs" | |||
160 | # include fragment shaders | 160 | # include fragment shaders |
161 | FILES:${PN}-opengl += "/usr/share/*.fs" | 161 | FILES:${PN}-opengl += "/usr/share/*.fs" |
162 | 162 | ||
163 | COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" | 163 | COMPATIBLE_MACHINE = "(mx6-nxp-bsp|mx7-nxp-bsp|mx8-nxp-bsp)" |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.0.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.0.imx.bb index 5dd672bff..d254db0c7 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.0.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.18.0.imx.bb | |||
@@ -99,4 +99,4 @@ def get_opengl_cmdline_list(switch_name, options, d): | |||
99 | 99 | ||
100 | CVE_PRODUCT += "gst-plugins-base" | 100 | CVE_PRODUCT += "gst-plugins-base" |
101 | 101 | ||
102 | COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" | 102 | COMPATIBLE_MACHINE = "(mx6-nxp-bsp|mx7-nxp-bsp|mx8-nxp-bsp)" |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.18.0.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.18.0.imx.bb index 050bc6ee9..192485837 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.18.0.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.18.0.imx.bb | |||
@@ -74,4 +74,4 @@ EXTRA_OEMESON += " \ | |||
74 | 74 | ||
75 | FILES:${PN}-equalizer += "${datadir}/gstreamer-1.0/presets/*.prs" | 75 | FILES:${PN}-equalizer += "${datadir}/gstreamer-1.0/presets/*.prs" |
76 | 76 | ||
77 | COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" | 77 | COMPATIBLE_MACHINE = "(mx6-nxp-bsp|mx7-nxp-bsp|mx8-nxp-bsp)" |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.0.0.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.0.0.bb index 41de1369d..ed2da34bc 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.0.0.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.0.0.bb | |||
@@ -42,8 +42,8 @@ PACKAGECONFIG:append:imxpxp = " pxp" | |||
42 | # The 2D blitter sinks require an MXC framebuffer, which | 42 | # The 2D blitter sinks require an MXC framebuffer, which |
43 | # is not available anymore on the i.MX8 (since these SoCs | 43 | # is not available anymore on the i.MX8 (since these SoCs |
44 | # now use KMS instead of the old Linux framebuffer). | 44 | # now use KMS instead of the old Linux framebuffer). |
45 | PACKAGECONFIG:append:mx6 = " imx2dvideosink v4l2" | 45 | PACKAGECONFIG:append:mx6-nxp-bsp = " imx2dvideosink v4l2" |
46 | PACKAGECONFIG:append:mx7 = " imx2dvideosink" | 46 | PACKAGECONFIG:append:mx7-nxp-bsp = " imx2dvideosink" |
47 | 47 | ||
48 | PACKAGECONFIG[g2d] = "-Dg2d=enabled ${LIBG2D_DPU_OPTION},-Dg2d=disabled,${LIBG2D_DEPENDENCIES}" | 48 | PACKAGECONFIG[g2d] = "-Dg2d=enabled ${LIBG2D_DPU_OPTION},-Dg2d=disabled,${LIBG2D_DEPENDENCIES}" |
49 | PACKAGECONFIG[pxp] = "-Dpxp=enabled,-Dpxp=disabled," | 49 | PACKAGECONFIG[pxp] = "-Dpxp=enabled,-Dpxp=disabled," |
@@ -59,4 +59,4 @@ require recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc | |||
59 | # the following line is required to produce one package for each plugin | 59 | # the following line is required to produce one package for each plugin |
60 | PACKAGES_DYNAMIC = "^${PN}-.*" | 60 | PACKAGES_DYNAMIC = "^${PN}-.*" |
61 | 61 | ||
62 | COMPATIBLE_MACHINE = "(mx6dl|mx6q|mx6sl|mx6sx|mx6ul|mx6ull|mx7d|mx8)" | 62 | COMPATIBLE_MACHINE = "(mx6dl-nxp-bsp|mx6q-nxp-bsp|mx6sl-nxp-bsp|mx6sx-nxp-bsp|mx6ul-nxp-bsp|mx6ull-nxp-bsp|mx7d-nxp-bsp|mx8-nxp-bsp)" |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.18.0.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.18.0.bb index 0625fbaa7..15c17f4fc 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.18.0.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.18.0.bb | |||
@@ -42,4 +42,4 @@ EXTRA_OEMESON += " \ | |||
42 | FILES:${PN}-amrnb += "${datadir}/gstreamer-1.0/presets/GstAmrnbEnc.prs" | 42 | FILES:${PN}-amrnb += "${datadir}/gstreamer-1.0/presets/GstAmrnbEnc.prs" |
43 | FILES:${PN}-x264 += "${datadir}/gstreamer-1.0/presets/GstX264Enc.prs" | 43 | FILES:${PN}-x264 += "${datadir}/gstreamer-1.0/presets/GstX264Enc.prs" |
44 | 44 | ||
45 | COMPATIBLE_MACHINE = "(imx)" | 45 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.18.0.bb b/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.18.0.bb index eaaf078b7..4a8d5995b 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.18.0.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.18.0.bb | |||
@@ -29,4 +29,4 @@ GIR_MESON_DISABLE_FLAG = "disabled" | |||
29 | # Starting with 1.8.0 gst-rtsp-server includes dependency-less plugins as well | 29 | # Starting with 1.8.0 gst-rtsp-server includes dependency-less plugins as well |
30 | require recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc | 30 | require recipes-multimedia/gstreamer/gstreamer1.0-plugins-packaging.inc |
31 | 31 | ||
32 | COMPATIBLE_MACHINE = "(imx)" | 32 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" |
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0_1.18.0.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0_1.18.0.imx.bb index c474f9b05..eabf0f440 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0_1.18.0.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0_1.18.0.imx.bb | |||
@@ -79,4 +79,4 @@ CVE_PRODUCT = "gstreamer" | |||
79 | 79 | ||
80 | PTEST_BUILD_HOST_FILES = "" | 80 | PTEST_BUILD_HOST_FILES = "" |
81 | 81 | ||
82 | COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" | 82 | COMPATIBLE_MACHINE = "(mx6-nxp-bsp|mx7-nxp-bsp|mx8-nxp-bsp)" |
diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.6.1.bb b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.6.1.bb index b5fb88907..db3badac4 100644 --- a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.6.1.bb +++ b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.6.1.bb | |||
@@ -8,8 +8,8 @@ LICENSE = "GPLv2 & LGPLv2 & LGPLv2.1" | |||
8 | SECTION = "multimedia" | 8 | SECTION = "multimedia" |
9 | 9 | ||
10 | DEPENDS = "imx-codec imx-parser gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad" | 10 | DEPENDS = "imx-codec imx-parser gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad" |
11 | DEPENDS:append:mx6 = " imx-lib" | 11 | DEPENDS:append:mx6-nxp-bsp = " imx-lib" |
12 | DEPENDS:append:mx7 = " imx-lib" | 12 | DEPENDS:append:mx7-nxp-bsp = " imx-lib" |
13 | DEPENDS:append:imxvpu = " imx-vpuwrap libdrm" | 13 | DEPENDS:append:imxvpu = " imx-vpuwrap libdrm" |
14 | 14 | ||
15 | # For backwards compatibility | 15 | # For backwards compatibility |
@@ -30,14 +30,14 @@ S = "${WORKDIR}/git" | |||
30 | 30 | ||
31 | inherit meson pkgconfig use-imx-headers | 31 | inherit meson pkgconfig use-imx-headers |
32 | 32 | ||
33 | PLATFORM:mx6 = "MX6" | 33 | PLATFORM:mx6-nxp-bsp = "MX6" |
34 | PLATFORM:mx6sl = "MX6SL" | 34 | PLATFORM:mx6sl-nxp-bsp = "MX6SL" |
35 | PLATFORM:mx6sx = "MX6SX" | 35 | PLATFORM:mx6sx-nxp-bsp = "MX6SX" |
36 | PLATFORM:mx6ul = "MX6UL" | 36 | PLATFORM:mx6ul-nxp-bsp = "MX6UL" |
37 | PLATFORM:mx6sll = "MX6SLL" | 37 | PLATFORM:mx6sll-nxp-bsp = "MX6SLL" |
38 | PLATFORM:mx7= "MX7D" | 38 | PLATFORM:mx7-nxp-bsp= "MX7D" |
39 | PLATFORM:mx7ulp= "MX7ULP" | 39 | PLATFORM:mx7ulp-nxp-bsp= "MX7ULP" |
40 | PLATFORM:mx8 = "MX8" | 40 | PLATFORM:mx8-nxp-bsp = "MX8" |
41 | 41 | ||
42 | # Todo add a mechanism to map possible build targets | 42 | # Todo add a mechanism to map possible build targets |
43 | EXTRA_OEMESON = "-Dplatform=${PLATFORM} \ | 43 | EXTRA_OEMESON = "-Dplatform=${PLATFORM} \ |
@@ -49,10 +49,10 @@ PACKAGES =+ "${PN}-gplay ${PN}-libgplaycore ${PN}-libgstfsl ${PN}-grecorder ${PN | |||
49 | # Add codec list that the beep plugin run-time depended | 49 | # Add codec list that the beep plugin run-time depended |
50 | BEEP_RDEPENDS = "imx-codec-aac imx-codec-mp3 imx-codec-oggvorbis" | 50 | BEEP_RDEPENDS = "imx-codec-aac imx-codec-mp3 imx-codec-oggvorbis" |
51 | RDEPENDS:${PN} += "imx-parser ${BEEP_RDEPENDS} gstreamer1.0-plugins-good-id3demux " | 51 | RDEPENDS:${PN} += "imx-parser ${BEEP_RDEPENDS} gstreamer1.0-plugins-good-id3demux " |
52 | RDEPENDS:${PN}:append:mx8qm = " imx-dsp" | 52 | RDEPENDS:${PN}:append:mx8qm-nxp-bsp = " imx-dsp" |
53 | RDEPENDS:${PN}:append:mx8qxp = " imx-dsp" | 53 | RDEPENDS:${PN}:append:mx8qxp-nxp-bsp = " imx-dsp" |
54 | RDEPENDS:${PN}:append:mx8mp = " imx-dsp" | 54 | RDEPENDS:${PN}:append:mx8mp-nxp-bsp = " imx-dsp" |
55 | RDEPENDS:${PN}:append:mx8ulp = " imx-dsp" | 55 | RDEPENDS:${PN}:append:mx8ulp-nxp-bsp = " imx-dsp" |
56 | 56 | ||
57 | # overlaysink rely on G2D, | 57 | # overlaysink rely on G2D, |
58 | # cannot be supported on i.MX6SLL & i.MX6UL & i.MX6ULL & i.MX7D | 58 | # cannot be supported on i.MX6SLL & i.MX6UL & i.MX6ULL & i.MX7D |
@@ -82,4 +82,4 @@ FILES:${PN}-grecorder = "${bindir}/grecorder-1.0" | |||
82 | FILES:${PN}-librecorder-engine = "${libdir}/librecorder_engine-1.0${SOLIBS}" | 82 | FILES:${PN}-librecorder-engine = "${libdir}/librecorder_engine-1.0${SOLIBS}" |
83 | FILES:${PN}-libplayengine = "${libdir}/libplayengine-1.0${SOLIBS}" | 83 | FILES:${PN}-libplayengine = "${libdir}/libplayengine-1.0${SOLIBS}" |
84 | 84 | ||
85 | COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" | 85 | COMPATIBLE_MACHINE = "(mx6-nxp-bsp|mx7-nxp-bsp|mx8-nxp-bsp)" |
diff --git a/recipes-multimedia/imx-codec/imx-codec_4.6.2.bb b/recipes-multimedia/imx-codec/imx-codec_4.6.2.bb index 46a1b2253..cdb5a8ac5 100644 --- a/recipes-multimedia/imx-codec/imx-codec_4.6.2.bb +++ b/recipes-multimedia/imx-codec/imx-codec_4.6.2.bb | |||
@@ -116,4 +116,4 @@ FILES:${PN}-nb += "${libdir}/imx-mm/audio-codec/wrap/lib_nbamrd_wrap_arm*_elinux | |||
116 | FILES:${PN}-wb += "${libdir}/imx-mm/audio-codec/wrap/lib_wbamrd_wrap_arm*_elinux.so.*" | 116 | FILES:${PN}-wb += "${libdir}/imx-mm/audio-codec/wrap/lib_wbamrd_wrap_arm*_elinux.so.*" |
117 | 117 | ||
118 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 118 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
119 | COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" | 119 | COMPATIBLE_MACHINE = "(mx6-nxp-bsp|mx7-nxp-bsp|mx8-nxp-bsp)" |
diff --git a/recipes-multimedia/imx-dsp/imx-dsp-codec-ext_1.2.0.bb b/recipes-multimedia/imx-dsp/imx-dsp-codec-ext_1.2.0.bb index fe653c184..f34c466ce 100644 --- a/recipes-multimedia/imx-dsp/imx-dsp-codec-ext_1.2.0.bb +++ b/recipes-multimedia/imx-dsp/imx-dsp-codec-ext_1.2.0.bb | |||
@@ -18,4 +18,4 @@ INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | |||
18 | INSANE_SKIP:${PN} = "arch dev-so" | 18 | INSANE_SKIP:${PN} = "arch dev-so" |
19 | 19 | ||
20 | FILES:${PN} += "${libdir}/imx-mm/audio-codec ${datadir}/imx-mm" | 20 | FILES:${PN} += "${libdir}/imx-mm/audio-codec ${datadir}/imx-mm" |
21 | COMPATIBLE_MACHINE = "(mx8qm|mx8qxp|mx8mp|mx8ulp)" | 21 | COMPATIBLE_MACHINE = "(mx8qm-nxp-bsp|mx8qxp-nxp-bsp|mx8mp-nxp-bsp|mx8ulp-nxp-bsp)" |
diff --git a/recipes-multimedia/imx-dsp/imx-dsp_1.2.0.bb b/recipes-multimedia/imx-dsp/imx-dsp_1.2.0.bb index fe650eb16..eb90f17f1 100644 --- a/recipes-multimedia/imx-dsp/imx-dsp_1.2.0.bb +++ b/recipes-multimedia/imx-dsp/imx-dsp_1.2.0.bb | |||
@@ -19,8 +19,8 @@ EXTRA_OECONF += " \ | |||
19 | RDEPENDS:${PN} += " imx-dsp-codec-ext" | 19 | RDEPENDS:${PN} += " imx-dsp-codec-ext" |
20 | 20 | ||
21 | HIFI4_BIN ?= "hifi4_imx8qmqxp.bin" | 21 | HIFI4_BIN ?= "hifi4_imx8qmqxp.bin" |
22 | HIFI4_BIN:mx8mp = "hifi4_imx8mp.bin" | 22 | HIFI4_BIN:mx8mp-nxp-bsp = "hifi4_imx8mp.bin" |
23 | HIFI4_BIN:mx8ulp = "hifi4_imx8ulp.bin" | 23 | HIFI4_BIN:mx8ulp-nxp-bsp = "hifi4_imx8ulp.bin" |
24 | 24 | ||
25 | do_install:append () { | 25 | do_install:append () { |
26 | # Rename DSP Firmware into hifi4.bin and remove unneeded binary | 26 | # Rename DSP Firmware into hifi4.bin and remove unneeded binary |
@@ -42,4 +42,4 @@ INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | |||
42 | INHIBIT_SYSROOT_STRIP = "1" | 42 | INHIBIT_SYSROOT_STRIP = "1" |
43 | 43 | ||
44 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 44 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
45 | COMPATIBLE_MACHINE = "(mx8qm|mx8qxp|mx8mp|mx8ulp)" | 45 | COMPATIBLE_MACHINE = "(mx8qm-nxp-bsp|mx8qxp-nxp-bsp|mx8mp-nxp-bsp|mx8ulp-nxp-bsp)" |
diff --git a/recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.1.bb b/recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.1.bb index 83aa656f1..7bf6d932e 100644 --- a/recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.1.bb +++ b/recipes-multimedia/imx-dspc-asrc/imx-dspc-asrc_1.0.1.bb | |||
@@ -19,4 +19,4 @@ INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | |||
19 | 19 | ||
20 | FILES:${PN} += "/unit_tests ${datadir}/imx-mm" | 20 | FILES:${PN} += "/unit_tests ${datadir}/imx-mm" |
21 | 21 | ||
22 | COMPATIBLE_MACHINE = "(mx8)" | 22 | COMPATIBLE_MACHINE = "(mx8-nxp-bsp)" |
diff --git a/recipes-multimedia/imx-parser/imx-parser_4.6.2.bb b/recipes-multimedia/imx-parser/imx-parser_4.6.2.bb index 08cdd162a..f8ee180e3 100644 --- a/recipes-multimedia/imx-parser/imx-parser_4.6.2.bb +++ b/recipes-multimedia/imx-parser/imx-parser_4.6.2.bb | |||
@@ -41,4 +41,4 @@ FILES:${PN} += "${libdir}/imx-mm/*/*${SOLIBS} ${libdir}/imx-mm/*/*${SOLIBSDEV}" | |||
41 | 41 | ||
42 | INHIBIT_SYSROOT_STRIP = "1" | 42 | INHIBIT_SYSROOT_STRIP = "1" |
43 | 43 | ||
44 | COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" | 44 | COMPATIBLE_MACHINE = "(mx6-nxp-bsp|mx7-nxp-bsp|mx8-nxp-bsp)" |
diff --git a/recipes-multimedia/imx-sw-pdm/imx-sw-pdm_1.0.1.bb b/recipes-multimedia/imx-sw-pdm/imx-sw-pdm_1.0.1.bb index 7fc13c58b..d1fc1f766 100644 --- a/recipes-multimedia/imx-sw-pdm/imx-sw-pdm_1.0.1.bb +++ b/recipes-multimedia/imx-sw-pdm/imx-sw-pdm_1.0.1.bb | |||
@@ -15,4 +15,4 @@ INSANE_SKIP:${PN} = "already-stripped" | |||
15 | 15 | ||
16 | FILES:${PN} += "${datadir}/imx-mm" | 16 | FILES:${PN} += "${datadir}/imx-mm" |
17 | 17 | ||
18 | COMPATIBLE_MACHINE = "(mx8)" | 18 | COMPATIBLE_MACHINE = "(mx8-nxp-bsp)" |
diff --git a/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_4.6.2.bb b/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_4.6.2.bb index 03702b16e..24af9e2b7 100644 --- a/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_4.6.2.bb +++ b/recipes-multimedia/imx-vpuwrap/imx-vpuwrap_4.6.2.bb | |||
@@ -8,7 +8,7 @@ SECTION = "multimedia" | |||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=e565271ec9a80ce47abbddc4bffe56fa" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=e565271ec9a80ce47abbddc4bffe56fa" |
9 | 9 | ||
10 | DEPENDS = "virtual/imxvpu" | 10 | DEPENDS = "virtual/imxvpu" |
11 | DEPENDS:append:mx8mp = " imx-vpu-hantro-vc" | 11 | DEPENDS:append:mx8mp-nxp-bsp = " imx-vpu-hantro-vc" |
12 | 12 | ||
13 | SRC_URI = "git://github.com/NXP/imx-vpuwrap.git;protocol=https;branch=${SRCBRANCH}" | 13 | SRC_URI = "git://github.com/NXP/imx-vpuwrap.git;protocol=https;branch=${SRCBRANCH}" |
14 | 14 | ||
diff --git a/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.2.0.bb b/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.2.0.bb index 2b995b60f..97b5f1168 100644 --- a/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.2.0.bb +++ b/recipes-multimedia/libimxvpuapi/libimxvpuapi2_2.2.0.bb | |||
@@ -15,10 +15,10 @@ S = "${WORKDIR}/git" | |||
15 | 15 | ||
16 | inherit waf pkgconfig use-imx-headers | 16 | inherit waf pkgconfig use-imx-headers |
17 | 17 | ||
18 | IMX_PLATFORM:mx6 = "imx6" | 18 | IMX_PLATFORM:mx6-nxp-bsp = "imx6" |
19 | IMX_PLATFORM:mx8mq = "imx8m" | 19 | IMX_PLATFORM:mx8mq-nxp-bsp = "imx8m" |
20 | IMX_PLATFORM:mx8mm = "imx8mm" | 20 | IMX_PLATFORM:mx8mm-nxp-bsp = "imx8mm" |
21 | IMX_PLATFORM:mx8mp = "imx8mm" | 21 | IMX_PLATFORM:mx8mp-nxp-bsp = "imx8mm" |
22 | 22 | ||
23 | EXTRA_OECONF = "--imx-platform=${IMX_PLATFORM} --libdir=${libdir} --imx-headers=${STAGING_INCDIR_IMX} --sysroot-path=${RECIPE_SYSROOT}" | 23 | EXTRA_OECONF = "--imx-platform=${IMX_PLATFORM} --libdir=${libdir} --imx-headers=${STAGING_INCDIR_IMX} --sysroot-path=${RECIPE_SYSROOT}" |
24 | 24 | ||
diff --git a/recipes-multimedia/libimxvpuapi/libimxvpuapi_git.bb b/recipes-multimedia/libimxvpuapi/libimxvpuapi_git.bb index 778514fb1..660eed3ee 100644 --- a/recipes-multimedia/libimxvpuapi/libimxvpuapi_git.bb +++ b/recipes-multimedia/libimxvpuapi/libimxvpuapi_git.bb | |||
@@ -16,6 +16,6 @@ S = "${WORKDIR}/git" | |||
16 | 16 | ||
17 | inherit waf pkgconfig | 17 | inherit waf pkgconfig |
18 | 18 | ||
19 | COMPATIBLE_MACHINE = "(mx6q|mx6dl)" | 19 | COMPATIBLE_MACHINE = "(mx6q-nxp-bsp|mx6dl-nxp-bsp)" |
20 | 20 | ||
21 | EXTRA_OECONF = "--libdir=${libdir}" | 21 | EXTRA_OECONF = "--libdir=${libdir}" |
diff --git a/recipes-multimedia/pulseaudio/pulseaudio/imx/daemon.conf b/recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp/daemon.conf index 9eb954bbc..9eb954bbc 100644 --- a/recipes-multimedia/pulseaudio/pulseaudio/imx/daemon.conf +++ b/recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp/daemon.conf | |||
diff --git a/recipes-multimedia/pulseaudio/pulseaudio/imx/default.pa b/recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp/default.pa index 83a6ba8de..83a6ba8de 100644 --- a/recipes-multimedia/pulseaudio/pulseaudio/imx/default.pa +++ b/recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp/default.pa | |||
diff --git a/recipes-multimedia/pulseaudio/pulseaudio/imx/pulseaudio-remove-the-control-for-speaker-headphone-widge.patch b/recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp/pulseaudio-remove-the-control-for-speaker-headphone-widge.patch index 57c28741a..57c28741a 100644 --- a/recipes-multimedia/pulseaudio/pulseaudio/imx/pulseaudio-remove-the-control-for-speaker-headphone-widge.patch +++ b/recipes-multimedia/pulseaudio/pulseaudio/imx-nxp-bsp/pulseaudio-remove-the-control-for-speaker-headphone-widge.patch | |||
diff --git a/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend b/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend index ae69be4c8..c7a4292e3 100644 --- a/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend +++ b/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend | |||
@@ -1,13 +1,13 @@ | |||
1 | 1 | ||
2 | CACHED_CONFIGUREVARS:append:mx6 = " ax_cv_PTHREAD_PRIO_INHERIT=no" | 2 | CACHED_CONFIGUREVARS:append:mx6-nxp-bsp = " ax_cv_PTHREAD_PRIO_INHERIT=no" |
3 | 3 | ||
4 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}/imx:" | 4 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}/imx-nxp-bsp:" |
5 | 5 | ||
6 | SRC_URI:append:mx6 = " file://daemon.conf file://default.pa" | 6 | SRC_URI:append:mx6-nxp-bsp = " file://daemon.conf file://default.pa" |
7 | SRC_URI:append:mx7 = " file://daemon.conf file://default.pa \ | 7 | SRC_URI:append:mx7-nxp-bsp = " file://daemon.conf file://default.pa \ |
8 | file://pulseaudio-remove-the-control-for-speaker-headphone-widge.patch \ | 8 | file://pulseaudio-remove-the-control-for-speaker-headphone-widge.patch \ |
9 | " | 9 | " |
10 | SRC_URI:append:mx8 = " file://daemon.conf file://default.pa" | 10 | SRC_URI:append:mx8-nxp-bsp = " file://daemon.conf file://default.pa" |
11 | 11 | ||
12 | do_install:append() { | 12 | do_install:append() { |
13 | if [ -e "${WORKDIR}/daemon.conf" ] && [ -e "${WORKDIR}/default.pa" ]; then | 13 | if [ -e "${WORKDIR}/daemon.conf" ] && [ -e "${WORKDIR}/default.pa" ]; then |
@@ -16,6 +16,6 @@ do_install:append() { | |||
16 | fi | 16 | fi |
17 | } | 17 | } |
18 | 18 | ||
19 | PACKAGE_ARCH:mx6 = "${MACHINE_SOCARCH}" | 19 | PACKAGE_ARCH:mx6-nxp-bsp = "${MACHINE_SOCARCH}" |
20 | PACKAGE_ARCH:mx7 = "${MACHINE_SOCARCH}" | 20 | PACKAGE_ARCH:mx7-nxp-bsp = "${MACHINE_SOCARCH}" |
21 | PACKAGE_ARCH:mx8 = "${MACHINE_SOCARCH}" | 21 | PACKAGE_ARCH:mx8-nxp-bsp = "${MACHINE_SOCARCH}" |