Patchwork [meta-filesystems,PATCHv2] yaffs2-utils: Fix formatting, drop PR

login
register
mail settings
Submitter Martin Jansa
Date Jan. 22, 2014, 11:44 a.m.
Message ID <1390391045-16689-1-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/65537/
State New, archived
Headers show

Comments

Martin Jansa - Jan. 22, 2014, 11:44 a.m.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 .../recipes-filesystems/yaffs2/yaffs2-utils_git.bb  | 21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)
Hongxu Jia - Jan. 23, 2014, 5:48 a.m.
On 01/22/2014 07:44 PM, Martin Jansa wrote:
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>

Reviewed-by: Hongxu Jia <hongxu.jia@windriver.comx>

//Hongxu

> ---
>   .../recipes-filesystems/yaffs2/yaffs2-utils_git.bb  | 21 +++++++++------------
>   1 file changed, 9 insertions(+), 12 deletions(-)
>
> diff --git a/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb
> index 2b7452b..0e1e460 100644
> --- a/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb
> +++ b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb
> @@ -1,38 +1,35 @@
>   SUMMARY = "Yet Another Flash File System"
> -
>   DESCRIPTION = "Tools for managing 'yaffs2' file systems."
>   
>   SECTION = "base"
>   HOMEPAGE = "http://www.yaffs.net"
> +
>   LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://utils/mkyaffs2image.c;beginline=12;endline=14;md5=5f5464f9b3e981ca574e65b00e438561"
>   
> -PR = "r0"
>   PV = "0.0+git${SRCPV}"
>   
>   DEPENDS = "mtd-utils"
> -S = "${WORKDIR}/git"
>   
>   # Source is the HEAD of master branch at the time of writing this recipe
> -SRC_URI = "git://www.aleph1.co.uk/yaffs2;protocol=git;branch=master \
> -          "
> +SRC_URI = "git://www.aleph1.co.uk/yaffs2;protocol=git;branch=master"
>   SRCREV = "bc76682d93955cfb33051beb503ad9f8a5450578"
> -
> -LIC_FILES_CHKSUM = "file://utils/mkyaffs2image.c;beginline=12;endline=14;md5=5f5464f9b3e981ca574e65b00e438561"
> +S = "${WORKDIR}/git"
>   
>   CFLAGS_append = " -I.. -DCONFIG_YAFFS_UTIL -DCONFIG_YAFFS_DEFINES_TYPES"
>   
>   do_compile() {
> -	cd utils && oe_runmake
> +    cd utils && oe_runmake
>   }
>   
>   INSTALL_FILES = "mkyaffsimage \
>                    mkyaffs2image \
>                   "
>   do_install() {
> -	install -d ${D}${sbindir}/
> -	for i in ${INSTALL_FILES}; do
> -		install -m 0755 utils/$i ${D}${sbindir}/
> -	done
> +    install -d ${D}${sbindir}/
> +    for i in ${INSTALL_FILES}; do
> +        install -m 0755 utils/$i ${D}${sbindir}/
> +    done
>   }
>   
>   BBCLASSEXTEND = "native"

Patch

diff --git a/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb
index 2b7452b..0e1e460 100644
--- a/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb
+++ b/meta-filesystems/recipes-filesystems/yaffs2/yaffs2-utils_git.bb
@@ -1,38 +1,35 @@ 
 SUMMARY = "Yet Another Flash File System"
-
 DESCRIPTION = "Tools for managing 'yaffs2' file systems."
 
 SECTION = "base"
 HOMEPAGE = "http://www.yaffs.net"
+
 LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://utils/mkyaffs2image.c;beginline=12;endline=14;md5=5f5464f9b3e981ca574e65b00e438561"
 
-PR = "r0"
 PV = "0.0+git${SRCPV}"
 
 DEPENDS = "mtd-utils"
-S = "${WORKDIR}/git"
 
 # Source is the HEAD of master branch at the time of writing this recipe
-SRC_URI = "git://www.aleph1.co.uk/yaffs2;protocol=git;branch=master \
-          "
+SRC_URI = "git://www.aleph1.co.uk/yaffs2;protocol=git;branch=master"
 SRCREV = "bc76682d93955cfb33051beb503ad9f8a5450578"
-
-LIC_FILES_CHKSUM = "file://utils/mkyaffs2image.c;beginline=12;endline=14;md5=5f5464f9b3e981ca574e65b00e438561"
+S = "${WORKDIR}/git"
 
 CFLAGS_append = " -I.. -DCONFIG_YAFFS_UTIL -DCONFIG_YAFFS_DEFINES_TYPES"
 
 do_compile() {
-	cd utils && oe_runmake
+    cd utils && oe_runmake
 }
 
 INSTALL_FILES = "mkyaffsimage \
                  mkyaffs2image \
                 "
 do_install() {
-	install -d ${D}${sbindir}/
-	for i in ${INSTALL_FILES}; do
-		install -m 0755 utils/$i ${D}${sbindir}/
-	done
+    install -d ${D}${sbindir}/
+    for i in ${INSTALL_FILES}; do
+        install -m 0755 utils/$i ${D}${sbindir}/
+    done
 }
 
 BBCLASSEXTEND = "native"