]> code.ossystems Code Review - meta-freescale.git/commitdiff
libmcc: Add minor changes to get recipe in better shape
authorOtavio Salvador <otavio@ossystems.com.br>
Mon, 24 Feb 2014 11:57:02 +0000 (08:57 -0300)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 24 Feb 2014 13:59:46 +0000 (10:59 -0300)
In order to use the same pattern from other recipes, the following
changes were made in recipe:

- Use summary as the description was short
- Drop vendor name from summary
- Put RDEPENDS after source fields
- Add empty line between S and CFLAGS
- Drop extra space in CFLAGS appending

Change-Id: Iadf4b9e8dee308692925cf7e0b22df9b4cffb03a
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/recipes-bsp/libmcc/libmcc_1.03.bb

index 950495c19e697dbffe8516abb290d107a4c93c31..5d3c968ce8a3fa09a52e1cdac7ddea9599f1a438 100644 (file)
@@ -1,11 +1,9 @@
 # Copyright (C) 2013 Timesys Corporation
-SUMMARY = "MCC Userspace Library"
-DESCRIPTION = "Timesys Multicore communication Library"
+SUMMARY = "Multicore communication Library"
 LICENSE = "GPL-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c49712341497d0b5f2e40c30dff2af9d"
 
 DEPENDS = "kernel-module-mcc"
-RDEPENDS_${PN} = "kernel-module-mcc"
 
 inherit autotools
 
@@ -17,6 +15,9 @@ SRC_URI[md5sum] = "adac15d52206be21a4589b2b923af4cc"
 SRC_URI[sha256sum] = "8b4d88f260d4d3a67ee2c16e20112e0584403f350182087daa1cfafeceb16a7f"
 
 S = "${WORKDIR}/libmcc-${PV}"
-CFLAGS += " -I${STAGING_KERNEL_DIR}/include"
+
+CFLAGS += "-I${STAGING_KERNEL_DIR}/include"
+
+RDEPENDS_${PN} = "kernel-module-mcc"
 
 COMPATIBLE_MACHINE = "(vf60)"