Skip to content

Commit

Permalink
yaffs2-utils: remove inc file
Browse files Browse the repository at this point in the history
This dir had only one .bb file that only contained a line to include
the .inc file. This seemed a little bit superfluous so made the
inc file the bb file

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
  • Loading branch information
Frans Meulenbroeks committed Sep 19, 2010
1 parent b2734fe commit 83dff79
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 31 deletions.
30 changes: 0 additions & 30 deletions recipes/yaffs2/yaffs2-utils.inc

This file was deleted.

30 changes: 29 additions & 1 deletion recipes/yaffs2/yaffs2-utils_cvs.bb
@@ -1,2 +1,30 @@
require yaffs2-utils.inc
DESCRIPTION = "Tools for managing 'yaffs2' file systems."
SECTION = "base"
HOMEPAGE = "http://www.yaffs.net"
LICENSE = "GPLv2"
PV = "0.0.0+cvs${SRCDATE}"
PR = "r2"
DEPENDS = "mtd-utils"

SRC_URI = "cvs://anonymous@cvs.aleph1.co.uk/home/aleph1/cvs;module=yaffs2 \
file://mkyaffs2image.patch \
file://devextras.h.patch"

S = "${WORKDIR}/yaffs2"

CFLAGS += "-I.. -DCONFIG_YAFFS_UTIL "
CFLAGS_append_virtclass-native = " -I.. -DCONFIG_YAFFS_UTIL "

do_compile() {
cd utils && oe_runmake
}

NATIVE_INSTALL_WORKS = "1"
do_install() {
install -d ${D}${sbindir}/
for i in mkyaffsimage mkyaffs2image; do
install -m 0755 utils/$i ${D}${sbindir}/
done
}

BBCLASSEXTEND = "native"

0 comments on commit 83dff79

Please sign in to comment.