diff options
Diffstat (limited to 'meta/packages')
-rw-r--r-- | meta/packages/mtd/mtd-utils-native.inc | 13 | ||||
-rw-r--r-- | meta/packages/mtd/mtd-utils-native_1.1.0+git.bb | 2 | ||||
-rw-r--r-- | meta/packages/mtd/mtd-utils_1.1.0+git.bb | 22 |
3 files changed, 8 insertions, 29 deletions
diff --git a/meta/packages/mtd/mtd-utils-native.inc b/meta/packages/mtd/mtd-utils-native.inc deleted file mode 100644 index 01337697ef..0000000000 --- a/meta/packages/mtd/mtd-utils-native.inc +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | inherit native | ||
2 | DEPENDS = "zlib-native lzo-native" | ||
3 | |||
4 | do_stage () { | ||
5 | install -d ${STAGING_INCDIR}/mtd | ||
6 | for f in ${S}/include/mtd/*.h; do | ||
7 | install -m 0644 $f ${STAGING_INCDIR}/mtd/ | ||
8 | done | ||
9 | for binary in ${mtd_utils}; do | ||
10 | install -m 0755 $binary ${STAGING_BINDIR} | ||
11 | done | ||
12 | } | ||
13 | |||
diff --git a/meta/packages/mtd/mtd-utils-native_1.1.0+git.bb b/meta/packages/mtd/mtd-utils-native_1.1.0+git.bb deleted file mode 100644 index 6f9d71e10c..0000000000 --- a/meta/packages/mtd/mtd-utils-native_1.1.0+git.bb +++ /dev/null | |||
@@ -1,2 +0,0 @@ | |||
1 | require mtd-utils_${PV}.bb | ||
2 | require mtd-utils-native.inc | ||
diff --git a/meta/packages/mtd/mtd-utils_1.1.0+git.bb b/meta/packages/mtd/mtd-utils_1.1.0+git.bb index a6b8b4df29..fa62475f4b 100644 --- a/meta/packages/mtd/mtd-utils_1.1.0+git.bb +++ b/meta/packages/mtd/mtd-utils_1.1.0+git.bb | |||
@@ -3,7 +3,7 @@ SECTION = "base" | |||
3 | DEPENDS = "zlib lzo" | 3 | DEPENDS = "zlib lzo" |
4 | HOMEPAGE = "http://www.linux-mtd.infradead.org/" | 4 | HOMEPAGE = "http://www.linux-mtd.infradead.org/" |
5 | LICENSE = "GPLv2" | 5 | LICENSE = "GPLv2" |
6 | PR = "r1" | 6 | PR = "r2" |
7 | 7 | ||
8 | SRC_URI = "git://git.infradead.org/mtd-utils.git;protocol=git;tag=b995f89a81589be8d8a41c374a6df109d0ee12b3 \ | 8 | SRC_URI = "git://git.infradead.org/mtd-utils.git;protocol=git;tag=b995f89a81589be8d8a41c374a6df109d0ee12b3 \ |
9 | file://add-exclusion-to-mkfs-jffs2-git.patch;patch=1 \ | 9 | file://add-exclusion-to-mkfs-jffs2-git.patch;patch=1 \ |
@@ -14,22 +14,16 @@ S = "${WORKDIR}/git/" | |||
14 | 14 | ||
15 | EXTRA_OEMAKE = "'CC=${CC}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR'" | 15 | EXTRA_OEMAKE = "'CC=${CC}' 'CFLAGS=${CFLAGS} -I${S}/include -DWITHOUT_XATTR'" |
16 | 16 | ||
17 | do_stage () { | 17 | do_install () { |
18 | install -d ${STAGING_INCDIR}/mtd | 18 | oe_runmake install DESTDIR=${D} |
19 | install -d ${D}${includedir}/mtd/ | ||
19 | for f in ${S}/include/mtd/*.h; do | 20 | for f in ${S}/include/mtd/*.h; do |
20 | install -m 0644 $f ${STAGING_INCDIR}/mtd/ | 21 | install -m 0644 $f ${D}${includedir}/mtd/ |
21 | done | 22 | done |
22 | for binary in ${mtd_utils}; do | ||
23 | install -m 0755 $binary ${STAGING_BINDIR} | ||
24 | done | ||
25 | } | ||
26 | 23 | ||
27 | mtd_utils = "ftl_format flash_erase flash_eraseall nanddump doc_loadbios \ | ||
28 | ftl_check mkfs.jffs2 flash_lock flash_unlock flash_info mtd_debug \ | ||
29 | flashcp nandwrite jffs2dump sumtool" | ||
30 | |||
31 | do_install () { | ||
32 | oe_runmake install DESTDIR=${D} | ||
33 | } | 24 | } |
34 | 25 | ||
35 | PARALLEL_MAKE = "" | 26 | PARALLEL_MAKE = "" |
27 | |||
28 | BBCLASSEXTEND = "native" | ||
29 | NATIVE_INSTALL_WORKS = "1" | ||