diff options
author | Frans Meulenbroeks <fransmeulenbroeks@gmail.com> | 2013-01-21 12:17:07 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-28 12:29:30 +0000 |
commit | f876c134993798f5fef87b96c95dadbad38ab385 (patch) | |
tree | 368865b5b92669fc9729b842ea41a43f3b2165b3 | |
parent | 336d70c0adc070d83ba845206818630c7dd316c1 (diff) | |
download | poky-f876c134993798f5fef87b96c95dadbad38ab385.tar.gz |
mtd-utils: split into multiple packages
This allows one not to install rarely used or fs specific files
As discussed in http://thread.gmane.org/gmane.comp.handhelds.openembedded.core/31744/focus=31804
(From OE-Core rev: ca9d10543f22b60ba32fd78130970591782b880c)
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-devtools/mtd/mtd-utils_1.5.0.bb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-devtools/mtd/mtd-utils_1.5.0.bb b/meta/recipes-devtools/mtd/mtd-utils_1.5.0.bb index 12ad9d4746..5797204d71 100644 --- a/meta/recipes-devtools/mtd/mtd-utils_1.5.0.bb +++ b/meta/recipes-devtools/mtd/mtd-utils_1.5.0.bb | |||
@@ -13,7 +13,7 @@ SRC_URI = "git://git.infradead.org/mtd-utils.git;protocol=git \ | |||
13 | 13 | ||
14 | S = "${WORKDIR}/git/" | 14 | S = "${WORKDIR}/git/" |
15 | 15 | ||
16 | PR = "r2" | 16 | PR = "r3" |
17 | 17 | ||
18 | EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR' 'BUILDDIR=${S}'" | 18 | EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR' 'BUILDDIR=${S}'" |
19 | 19 | ||
@@ -21,6 +21,12 @@ do_install () { | |||
21 | oe_runmake install DESTDIR=${D} SBINDIR=${sbindir} MANDIR=${mandir} INCLUDEDIR=${includedir} | 21 | oe_runmake install DESTDIR=${D} SBINDIR=${sbindir} MANDIR=${mandir} INCLUDEDIR=${includedir} |
22 | } | 22 | } |
23 | 23 | ||
24 | PACKAGES =+ "mtd-utils-jffs2 mtd-utils-ubifs mtd-utils-misc" | ||
25 | |||
26 | FILES_mtd-utils-jffs2 = "${sbindir}/mkfs.jffs2 ${sbindir}/jffs2dump ${sbindir}/jffs2reader ${sbindir}/sumtool" | ||
27 | FILES_mtd-utils-ubifs = "${sbindir}/mkfs.ubifs ${sbindir}/ubi*" | ||
28 | FILES_mtd-utils-misc = "${sbindir}/nftl* ${sbindir}/ftl* ${sbindir}/rfd* ${sbindir}/doc* ${sbindir}/serve_image ${sbindir}/recv_image" | ||
29 | |||
24 | PARALLEL_MAKE = "" | 30 | PARALLEL_MAKE = "" |
25 | 31 | ||
26 | BBCLASSEXTEND = "native" | 32 | BBCLASSEXTEND = "native" |