summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/packages/yaffs2/yaffs2-utils-native_cvs.bb10
-rw-r--r--meta/packages/yaffs2/yaffs2-utils.inc20
-rw-r--r--meta/packages/yaffs2/yaffs2-utils_cvs.bb22
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 @@
1require yaffs2-utils_cvs.bb 1require yaffs2-utils.inc
2
2inherit native 3inherit native
3DEPENDS = "mtd-utils-native"
4 4
5CFLAGS += "-I.. -DCONFIG_YAFFS_UTIL" 5DEPENDS = "mtd-utils-native"
6 6
7do_stage() { 7do_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
13do_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 @@
1DESCRIPTION = "Tools for managing 'yaffs2' file systems."
2SECTION = "base"
3HOMEPAGE = "http://www.yaffs.net"
4LICENSE = "GPLv2"
5PV = "0.0.0+cvs${SRCDATE}"
6PR = "r0"
7
8#
9# NOTE: This needs pretty recent mtd-utils otherwise it fails to compile
10#
11
12SRC_URI = "cvs://anonymous@cvs.aleph1.co.uk/home/aleph1/cvs;module=yaffs2 \
13 file://mkyaffs2image.patch;patch=1"
14S = "${WORKDIR}/yaffs2"
15
16CFLAGS += "-I.. -DCONFIG_YAFFS_UTIL"
17
18do_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 @@
1DESCRIPTION = "Tools for managing 'yaffs2' file systems." 1require yaffs2-utils.inc
2SECTION = "base"
3HOMEPAGE = "http://www.yaffs.net"
4LICENSE = "GPLv2"
5PV = "0.0.0+cvs${SRCDATE}"
6PR = "r0"
7 2
8# 3DEPENDS = "mtd-utils"
9# NOTE: This needs pretty recent mtd-utils otherwise it fails to compile 4PR = "r1"
10#
11
12SRC_URI = "cvs://anonymous@cvs.aleph1.co.uk/home/aleph1/cvs;module=yaffs2 \
13 file://mkyaffs2image.patch;patch=1"
14S = "${WORKDIR}/yaffs2"
15
16CFLAGS += "-I.. -DCONFIG_YAFFS_UTIL"
17
18do_compile() {
19 cd utils && oe_runmake
20}
21 5
22do_install() { 6do_install() {
23 install -d ${D}${sbindir} 7 install -d ${D}${sbindir}