From ee73bdc57be3957ec6195f7206e21850b986240b Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 21 Jul 2006 15:36:47 +0000 Subject: mtd-utils: Fix PV git-svn-id: https://svn.o-hand.com/repos/poky/trunk@539 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- .../mtd/mtd-utils-native_0.0.0+cvs20060223.bb | 12 ++++++++ meta/packages/mtd/mtd-utils-native_20060223.bb | 12 -------- meta/packages/mtd/mtd-utils_0.0.0+cvs20060223.bb | 36 ++++++++++++++++++++++ meta/packages/mtd/mtd-utils_20060223.bb | 36 ---------------------- 4 files changed, 48 insertions(+), 48 deletions(-) create mode 100644 meta/packages/mtd/mtd-utils-native_0.0.0+cvs20060223.bb delete mode 100644 meta/packages/mtd/mtd-utils-native_20060223.bb create mode 100644 meta/packages/mtd/mtd-utils_0.0.0+cvs20060223.bb delete mode 100644 meta/packages/mtd/mtd-utils_20060223.bb diff --git a/meta/packages/mtd/mtd-utils-native_0.0.0+cvs20060223.bb b/meta/packages/mtd/mtd-utils-native_0.0.0+cvs20060223.bb new file mode 100644 index 0000000000..cd1fb7d11b --- /dev/null +++ b/meta/packages/mtd/mtd-utils-native_0.0.0+cvs20060223.bb @@ -0,0 +1,12 @@ +LICENSE = "GPLv2" +SECTION = "base" +include mtd-utils_${PV}.bb +inherit native +DEPENDS = "zlib-native" +FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/mtd-utils" + +do_stage () { + for binary in ${mtd_utils}; do + install -m 0755 util/$binary ${STAGING_BINDIR}/ + done +} diff --git a/meta/packages/mtd/mtd-utils-native_20060223.bb b/meta/packages/mtd/mtd-utils-native_20060223.bb deleted file mode 100644 index cd1fb7d11b..0000000000 --- a/meta/packages/mtd/mtd-utils-native_20060223.bb +++ /dev/null @@ -1,12 +0,0 @@ -LICENSE = "GPLv2" -SECTION = "base" -include mtd-utils_${PV}.bb -inherit native -DEPENDS = "zlib-native" -FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/mtd-utils" - -do_stage () { - for binary in ${mtd_utils}; do - install -m 0755 util/$binary ${STAGING_BINDIR}/ - done -} diff --git a/meta/packages/mtd/mtd-utils_0.0.0+cvs20060223.bb b/meta/packages/mtd/mtd-utils_0.0.0+cvs20060223.bb new file mode 100644 index 0000000000..50e4dc184f --- /dev/null +++ b/meta/packages/mtd/mtd-utils_0.0.0+cvs20060223.bb @@ -0,0 +1,36 @@ +DESCRIPTION = "Tools for managing memory technology devices." +SECTION = "base" +DEPENDS = "zlib" +HOMEPAGE = "http://www.linux-mtd.infradead.org/" +LICENSE = "GPLv2" +PR = "r0" +SRCDATE = "20060223" + +SRC_URI = "cvs://anoncvs:anoncvs@cvs.infradead.org/home/cvs;module=mtd \ + file://add-exclusion-to-mkfs-jffs2-20060131.patch;patch=1 \ + file://fix-ignoreerrors-20060131.patch;patch=1" +S = "${WORKDIR}/mtd/" + +CFLAGS_prepend = "-I${S}/include " + +do_compile () { + oe_runmake -C util ${mtd_utils} +} + +do_stage () { + install -d ${STAGING_INCDIR}/mtd + for f in ${S}/include/mtd/*.h; do + install -m 0644 $f ${STAGING_INCDIR}/mtd/ + done +} + +mtd_utils = "ftl_format flash_erase flash_eraseall nanddump doc_loadbios \ + mkfs.jffs ftl_check mkfs.jffs2 flash_lock flash_unlock flash_info mtd_debug \ + flashcp nandwrite jffs2dump sumtool" + +do_install () { + install -d ${D}${bindir} + for binary in ${mtd_utils}; do + install -m 0755 util/$binary ${D}${bindir} + done +} diff --git a/meta/packages/mtd/mtd-utils_20060223.bb b/meta/packages/mtd/mtd-utils_20060223.bb deleted file mode 100644 index 21d0f21fcd..0000000000 --- a/meta/packages/mtd/mtd-utils_20060223.bb +++ /dev/null @@ -1,36 +0,0 @@ -DESCRIPTION = "Tools for managing memory technology devices." -SECTION = "base" -DEPENDS = "zlib" -HOMEPAGE = "http://www.linux-mtd.infradead.org/" -LICENSE = "GPLv2" -PR = "r0" -SRCDATE = "${PV}" - -SRC_URI = "cvs://anoncvs:anoncvs@cvs.infradead.org/home/cvs;module=mtd \ - file://add-exclusion-to-mkfs-jffs2-20060131.patch;patch=1 \ - file://fix-ignoreerrors-20060131.patch;patch=1" -S = "${WORKDIR}/mtd/" - -CFLAGS_prepend = "-I${S}/include " - -do_compile () { - oe_runmake -C util ${mtd_utils} -} - -do_stage () { - install -d ${STAGING_INCDIR}/mtd - for f in ${S}/include/mtd/*.h; do - install -m 0644 $f ${STAGING_INCDIR}/mtd/ - done -} - -mtd_utils = "ftl_format flash_erase flash_eraseall nanddump doc_loadbios \ - mkfs.jffs ftl_check mkfs.jffs2 flash_lock flash_unlock flash_info mtd_debug \ - flashcp nandwrite jffs2dump sumtool" - -do_install () { - install -d ${D}${bindir} - for binary in ${mtd_utils}; do - install -m 0755 util/$binary ${D}${bindir} - done -} -- cgit v1.2.3