Skip to contentSkip to conversation

mqxboot: Add minor changes to get recipe in better shape

PATCH Superseded Otavio Salvador 1 participant 3 messages Feb 24, 2014

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/3 mqxboot: Add minor changes to get recipe in better shape

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 from summary
- Put RDEPENDS after source fields
- Add empty line between S and CFLAGS
- Drop extra space in CFLAGS appending

Change-Id I6adb237ffaae3b24ac2b28855d31ae93a3d019cb
---
 recipes-bsp/mqxboot/mqxboot_1.0.bb | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
recipes-bsp/mqxboot/mqxboot_1.0.bb +5 -4
index 707cfba..1293928 100644
@@ -1,11 +1,9 @@
 # Copyright (C) 2013 Timesys Corporation
-SUMMARY = "mqxboot"
-DESCRIPTION = "Timesys MQX Image loader - starts an MQX image on the M4"
+SUMMARY = "MQX Image loader - starts an MQX image on the M4"
 LICENSE = "GPL-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c49712341497d0b5f2e40c30dff2af9d"
 
 DEPENDS = "kernel-module-mcc"
-RDEPENDS_${PN} = "kernel-module-mcc"
 
 inherit autotools
 
@@ -15,6 +13,9 @@ SRC_URI[md5sum] = "3de3c8b5f8cd6664870587d29c04c421"
 SRC_URI[sha256sum] = "c2f66ae962fe2529578d5c007e3f91a36085b714a0ea276f47bc3aea90e69699"
 
 S = "${WORKDIR}/mqxboot-${PV}"
-CFLAGS += " -I${STAGING_KERNEL_DIR}/include"
+
+CFLAGS += "-I${STAGING_KERNEL_DIR}/include"
+
+RDEPENDS_${PN} = "kernel-module-mcc"
 
 COMPATIBLE_MACHINE = "(vf60)"
Signature · 1 line
1.9.0
#1 lore raw

PATCH v2 2/3 libmcc: Add minor changes to get recipe in better shape

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
---
 recipes-bsp/libmcc/libmcc_1.04.bb | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
recipes-bsp/libmcc/libmcc_1.04.bb +5 -4
index 729a9b1..35efd45 100644
@@ -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
 
@@ -15,6 +13,9 @@ SRC_URI[md5sum] = "e93ce76b4419f0902a848e1769bf22ea"
 SRC_URI[sha256sum] = "3de76c5b1a096021afebfc79ca4e85d05646beb3101edcecf73b82886e7a00c0"
 
 S = "${WORKDIR}/libmcc-${PV}"
-CFLAGS += " -I${STAGING_KERNEL_DIR}/include"
+
+CFLAGS += "-I${STAGING_KERNEL_DIR}/include"
+
+RDEPENDS_${PN} = "kernel-module-mcc"
 
 COMPATIBLE_MACHINE = "(vf60)"
Signature · 1 line
1.9.0
#2 lore raw

PATCH v2 3/3 kernel-module-mcc: Add minor changes to get recipe in better shape

In reply to Otavio Salvador

The vendor name has been removed as we are describing the recipe, the description was short so used in place of the summary which was meanless.

Change-Id I8945f5e7328daa016cdd15ccb026bd6ec5d4f936
---
 recipes-kernel/kernel-module-mcc/kernel-module-mcc_1.04.bb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
recipes-kernel/kernel-module-mcc/kernel-module-mcc_1.04.bb +1 -2
index eed9339..3accf90 100644
@@ -1,6 +1,5 @@
 # Copyright (C) 2013 Timesys Corporation
-SUMMARY = "MCC KERNEL MODULE"
-DESCRIPTION = "Timesys Multicore communication kernel module"
+SUMMARY = "Multicore communication kernel module"
 LICENSE = "GPL-2.0"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=c8959abcbbe4d6676c58eab9354019e6"
 
Signature · 1 line
1.9.0