diff options
Diffstat (limited to 'recipes-multimedia/imx-codec/imx-codec_4.10.0.bb')
| -rw-r--r-- | recipes-multimedia/imx-codec/imx-codec_4.10.0.bb | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/recipes-multimedia/imx-codec/imx-codec_4.10.0.bb b/recipes-multimedia/imx-codec/imx-codec_4.10.0.bb index 1c6e8081c..cac6d9c5e 100644 --- a/recipes-multimedia/imx-codec/imx-codec_4.10.0.bb +++ b/recipes-multimedia/imx-codec/imx-codec_4.10.0.bb | |||
| @@ -60,6 +60,7 @@ python __set_insane_skip() { | |||
| 60 | else: | 60 | else: |
| 61 | d.setVar("INSANE_SKIP:%s" % p, "ldflags textrel") | 61 | d.setVar("INSANE_SKIP:%s" % p, "ldflags textrel") |
| 62 | } | 62 | } |
| 63 | __set_insane_skip[doc] = "Set DEBIAN_NOAUTONAME and INSANE_SKIP for the prebuilt codec plugin packages." | ||
| 63 | 64 | ||
| 64 | do_package_qa[prefuncs] += "__set_insane_skip" | 65 | do_package_qa[prefuncs] += "__set_insane_skip" |
| 65 | 66 | ||
| @@ -82,6 +83,7 @@ python __split_libfslcodec_plugins() { | |||
| 82 | d.setVar('RPROVIDES:%s' % pkg, ' libfslcodec') | 83 | d.setVar('RPROVIDES:%s' % pkg, ' libfslcodec') |
| 83 | d.setVar('RCONFLICTS:%s' % pkg, ' libfslcodec') | 84 | d.setVar('RCONFLICTS:%s' % pkg, ' libfslcodec') |
| 84 | } | 85 | } |
| 86 | __split_libfslcodec_plugins[doc] = "Split the codec plugin .so files into per-codec packages." | ||
| 85 | 87 | ||
| 86 | python __set_metapkg_rdepends() { | 88 | python __set_metapkg_rdepends() { |
| 87 | # Allow addition of all codecs in a image; useful specially for | 89 | # Allow addition of all codecs in a image; useful specially for |
| @@ -91,9 +93,12 @@ python __set_metapkg_rdepends() { | |||
| 91 | codec_pkgs) | 93 | codec_pkgs) |
| 92 | d.appendVar('RDEPENDS:imx-codec-meta', ' ' + ' '.join(codec_pkgs)) | 94 | d.appendVar('RDEPENDS:imx-codec-meta', ' ' + ' '.join(codec_pkgs)) |
| 93 | } | 95 | } |
| 96 | __set_metapkg_rdepends[doc] = "Make the -meta package RDEPEND on all split codec packages." | ||
| 94 | 97 | ||
| 95 | PACKAGESPLITFUNCS =+ "__split_libfslcodec_plugins __set_metapkg_rdepends" | 98 | PACKAGESPLITFUNCS =+ "__split_libfslcodec_plugins __set_metapkg_rdepends" |
| 96 | 99 | ||
| 100 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
| 101 | |||
| 97 | # We need to ensure we don't have '-src' package overrided | 102 | # We need to ensure we don't have '-src' package overrided |
| 98 | PACKAGE_DEBUG_SPLIT_STYLE = 'debug-without-src' | 103 | PACKAGE_DEBUG_SPLIT_STYLE = 'debug-without-src' |
| 99 | 104 | ||
| @@ -106,7 +111,9 @@ PACKAGES += "${PN}-meta ${PN}-test-bin ${PN}-test-source" | |||
| 106 | ALLOW_EMPTY:${PN} = "1" | 111 | ALLOW_EMPTY:${PN} = "1" |
| 107 | ALLOW_EMPTY:${PN}-meta = "1" | 112 | ALLOW_EMPTY:${PN}-meta = "1" |
| 108 | 113 | ||
| 109 | # Ensure we get warnings if we miss something | 114 | # Reset PN's default FILES to empty so any unpackaged file is flagged as a |
| 115 | # warning instead of silently landing in the main package. | ||
| 116 | # nooelint: oelint.var.filesoverride | ||
| 110 | FILES:${PN} = "" | 117 | FILES:${PN} = "" |
| 111 | 118 | ||
| 112 | FILES:${PN}-dev += "${libdir}/imx-mm/*/*${SOLIBSDEV} \ | 119 | FILES:${PN}-dev += "${libdir}/imx-mm/*/*${SOLIBSDEV} \ |
| @@ -122,5 +129,4 @@ FILES:${PN}-oggvorbis += "${libdir}/imx-mm/audio-codec/wrap/lib_vorbisd_wrap_arm | |||
| 122 | FILES:${PN}-nb += "${libdir}/imx-mm/audio-codec/wrap/lib_nbamrd_wrap_arm*_elinux.so.*" | 129 | FILES:${PN}-nb += "${libdir}/imx-mm/audio-codec/wrap/lib_nbamrd_wrap_arm*_elinux.so.*" |
| 123 | FILES:${PN}-wb += "${libdir}/imx-mm/audio-codec/wrap/lib_wbamrd_wrap_arm*_elinux.so.*" | 130 | FILES:${PN}-wb += "${libdir}/imx-mm/audio-codec/wrap/lib_wbamrd_wrap_arm*_elinux.so.*" |
| 124 | 131 | ||
| 125 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
| 126 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" | 132 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" |
