[meta-freescale] [meta-fsl-arm][PATCH 3/4] libfslcodec: Move package related fields near to binary ones
Otavio Salvador
otavio at ossystems.com.br
Fri Jul 11 16:45:02 PDT 2014
The best practice is to have the package related fields close to the
binary related ones (FILES, RDEPENDS and like) as those has direct
influence in each other. This changes the recipe to follow this.
Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---
recipes-multimedia/libfslcodec/libfslcodec.inc | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/recipes-multimedia/libfslcodec/libfslcodec.inc b/recipes-multimedia/libfslcodec/libfslcodec.inc
index 8bc3e48..55e9283 100644
--- a/recipes-multimedia/libfslcodec/libfslcodec.inc
+++ b/recipes-multimedia/libfslcodec/libfslcodec.inc
@@ -9,15 +9,6 @@ inherit fsl-eula-unpack autotools pkgconfig
SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
-PACKAGES_DYNAMIC = "${PN}-*"
-INHIBIT_PACKAGE_STRIP = "1"
-INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
-
-PACKAGES += "${PN}-meta ${PN}-test-bin ${PN}-test-source"
-
-ALLOW_EMPTY_${PN} = "1"
-ALLOW_EMPTY_${PN}-meta = "1"
-
# Choose between Soft Float-Point and Hard Float-Point
EXTRA_OECONF = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '--enable-fhw', '', d)}"
@@ -80,6 +71,15 @@ python __set_metapkg_rdepends() {
PACKAGESPLITFUNCS =+ "__split_libfslcodec_plugins __set_metapkg_rdepends"
+PACKAGES_DYNAMIC = "${PN}-*"
+INHIBIT_PACKAGE_STRIP = "1"
+INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
+
+PACKAGES += "${PN}-meta ${PN}-test-bin ${PN}-test-source"
+
+ALLOW_EMPTY_${PN} = "1"
+ALLOW_EMPTY_${PN}-meta = "1"
+
# Ensure we get warnings if we miss something
FILES_${PN} = ""
--
2.0.0
More information about the meta-freescale
mailing list