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 | poky-90dbf753d4538186de57899bff5f371928d4f59a.tar.gz |
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 d192b52d03..f64c4d950c 100644 --- a/meta/packages/yaffs2/yaffs2-utils-native_cvs.bb +++ b/meta/packages/yaffs2/yaffs2-utils-native_cvs.bb | |||
@@ -1,15 +1,11 @@ | |||
1 | require yaffs2-utils_cvs.bb | 1 | require yaffs2-utils.inc |
2 | |||
2 | inherit native | 3 | inherit native |
3 | DEPENDS = "mtd-utils-native" | ||
4 | 4 | ||
5 | CFLAGS += "-I.. -DCONFIG_YAFFS_UTIL" | 5 | DEPENDS = "mtd-utils-native" |
6 | 6 | ||
7 | do_stage() { | 7 | do_stage() { |
8 | for i in mkyaffsimage mkyaffs2image; do | 8 | for i in mkyaffsimage mkyaffs2image; do |
9 | install -m 0755 utils/$i ${STAGING_BINDIR_NATIVE} | 9 | install -m 0755 utils/$i ${STAGING_BINDIR_NATIVE} |
10 | done | 10 | done |
11 | } | 11 | } |
12 | |||
13 | do_install() { | ||
14 | : | ||
15 | } | ||
diff --git a/meta/packages/yaffs2/yaffs2-utils.inc b/meta/packages/yaffs2/yaffs2-utils.inc new file mode 100644 index 0000000000..5edc3cd9c6 --- /dev/null +++ b/meta/packages/yaffs2/yaffs2-utils.inc | |||
@@ -0,0 +1,20 @@ | |||
1 | DESCRIPTION = "Tools for managing 'yaffs2' file systems." | ||
2 | SECTION = "base" | ||
3 | HOMEPAGE = "http://www.yaffs.net" | ||
4 | LICENSE = "GPLv2" | ||
5 | PV = "0.0.0+cvs${SRCDATE}" | ||
6 | PR = "r0" | ||
7 | |||
8 | # | ||
9 | # NOTE: This needs pretty recent mtd-utils otherwise it fails to compile | ||
10 | # | ||
11 | |||
12 | SRC_URI = "cvs://anonymous@cvs.aleph1.co.uk/home/aleph1/cvs;module=yaffs2 \ | ||
13 | file://mkyaffs2image.patch;patch=1" | ||
14 | S = "${WORKDIR}/yaffs2" | ||
15 | |||
16 | CFLAGS += "-I.. -DCONFIG_YAFFS_UTIL" | ||
17 | |||
18 | do_compile() { | ||
19 | cd utils && oe_runmake | ||
20 | } | ||
diff --git a/meta/packages/yaffs2/yaffs2-utils_cvs.bb b/meta/packages/yaffs2/yaffs2-utils_cvs.bb index 439136e2eb..cb9660ed85 100644 --- a/meta/packages/yaffs2/yaffs2-utils_cvs.bb +++ b/meta/packages/yaffs2/yaffs2-utils_cvs.bb | |||
@@ -1,23 +1,7 @@ | |||
1 | DESCRIPTION = "Tools for managing 'yaffs2' file systems." | 1 | require yaffs2-utils.inc |
2 | SECTION = "base" | ||
3 | HOMEPAGE = "http://www.yaffs.net" | ||
4 | LICENSE = "GPLv2" | ||
5 | PV = "0.0.0+cvs${SRCDATE}" | ||
6 | PR = "r0" | ||
7 | 2 | ||
8 | # | 3 | DEPENDS = "mtd-utils" |
9 | # NOTE: This needs pretty recent mtd-utils otherwise it fails to compile | 4 | PR = "r1" |
10 | # | ||
11 | |||
12 | SRC_URI = "cvs://anonymous@cvs.aleph1.co.uk/home/aleph1/cvs;module=yaffs2 \ | ||
13 | file://mkyaffs2image.patch;patch=1" | ||
14 | S = "${WORKDIR}/yaffs2" | ||
15 | |||
16 | CFLAGS += "-I.. -DCONFIG_YAFFS_UTIL" | ||
17 | |||
18 | do_compile() { | ||
19 | cd utils && oe_runmake | ||
20 | } | ||
21 | 5 | ||
22 | do_install() { | 6 | do_install() { |
23 | install -d ${D}${sbindir} | 7 | install -d ${D}${sbindir} |