]> code.ossystems Code Review - meta-freescale.git/commitdiff
libfslcodec: Move package related fields near to binary ones
authorOtavio Salvador <otavio@ossystems.com.br>
Fri, 11 Jul 2014 19:42:52 +0000 (16:42 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 11 Jul 2014 21:19:10 +0000 (18:19 -0300)
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@ossystems.com.br>
meta-fsl-arm/recipes-multimedia/libfslcodec/libfslcodec.inc

index 8bc3e487ac47d8f8febca619167b7cbfad446dce..55e9283be71f1db6290cc849e22898a255524240 100644 (file)
@@ -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} = ""