diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-11-07 10:46:36 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-11-07 10:46:36 +0000 |
commit | 90dbf753d4538186de57899bff5f371928d4f59a (patch) | |
tree | fcfb5260c2775640018f4657c213ffcd6a74d58a | |
parent | 4bec704e151294bf9ca419f57e7b40c9a5e02b35 (diff) | |
download | openembedded-core-90dbf753d4538186de57899bff5f371928d4f59a.tar.gz openembedded-core-90dbf753d4538186de57899bff5f371928d4f59a.tar.bz2 openembedded-core-90dbf753d4538186de57899bff5f371928d4f59a.tar.xz openembedded-core-90dbf753d4538186de57899bff5f371928d4f59a.zip |
yaffs2-utils: unbreak it
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3087 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r-- | meta/packages/yaffs2/yaffs2-utils-native_cvs.bb | 10 | ||||
-rw-r--r-- | meta/packages/yaffs2/yaffs2-utils.inc | 20 | ||||
-rw-r--r-- | meta/packages/yaffs2/yaffs2-utils_cvs.bb | 22 |
3 files changed, 26 insertions, 26 deletions
diff --git a/meta/packages/yaffs2/yaffs2-utils-native_cvs.bb b/meta/packages/yaffs2/yaffs2-utils-native_cvs.bb index d192b52d0..f64c4d950 100644 --- a/meta/packages/yaffs2/yaffs2-utils-native_cvs.bb +++ b/meta/packages/yaffs2/yaffs2-utils-native_cvs.bb @@ -1,15 +1,11 @@ -require yaffs2-utils_cvs.bb +require yaffs2-utils.inc + inherit native -DEPENDS = "mtd-utils-native" -CFLAGS += "-I.. -DCONFIG_YAFFS_UTIL" +DEPENDS = "mtd-utils-native" do_stage() { for i in mkyaffsimage mkyaffs2image; do install -m 0755 utils/$i ${STAGING_BINDIR_NATIVE} done } - -do_install() { - : -} diff --git a/meta/packages/yaffs2/yaffs2-utils.inc b/meta/packages/yaffs2/yaffs2-utils.inc new file mode 100644 index 000000000..5edc3cd9c --- /dev/null +++ b/meta/packages/yaffs2/yaffs2-utils.inc @@ -0,0 +1,20 @@ +DESCRIPTION = "Tools for managing 'yaffs2' file systems." +SECTION = "base" +HOMEPAGE = "http://www.yaffs.net" +LICENSE = "GPLv2" +PV = "0.0.0+cvs${SRCDATE}" +PR = "r0" + +# +# NOTE: This needs pretty recent mtd-utils otherwise it fails to compile +# + +SRC_URI = "cvs://anonymous@cvs.aleph1.co.uk/home/aleph1/cvs;module=yaffs2 \ + file://mkyaffs2image.patch;patch=1" +S = "${WORKDIR}/yaffs2" + +CFLAGS += "-I.. -DCONFIG_YAFFS_UTIL" + +do_compile() { + cd utils && oe_runmake +} diff --git a/meta/packages/yaffs2/yaffs2-utils_cvs.bb b/meta/packages/yaffs2/yaffs2-utils_cvs.bb index 439136e2e..cb9660ed8 100644 --- a/meta/packages/yaffs2/yaffs2-utils_cvs.bb +++ b/meta/packages/yaffs2/yaffs2-utils_cvs.bb @@ -1,23 +1,7 @@ -DESCRIPTION = "Tools for managing 'yaffs2' file systems." -SECTION = "base" -HOMEPAGE = "http://www.yaffs.net" -LICENSE = "GPLv2" -PV = "0.0.0+cvs${SRCDATE}" -PR = "r0" +require yaffs2-utils.inc -# -# NOTE: This needs pretty recent mtd-utils otherwise it fails to compile -# - -SRC_URI = "cvs://anonymous@cvs.aleph1.co.uk/home/aleph1/cvs;module=yaffs2 \ - file://mkyaffs2image.patch;patch=1" -S = "${WORKDIR}/yaffs2" - -CFLAGS += "-I.. -DCONFIG_YAFFS_UTIL" - -do_compile() { - cd utils && oe_runmake -} +DEPENDS = "mtd-utils" +PR = "r1" do_install() { install -d ${D}${sbindir} |