diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-17 23:48:54 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-17 23:48:54 +0000 |
commit | 90a50d59d97a58b66c836d5cda459acd5407a4fc (patch) | |
tree | 7a42132b0c238a0134c88450b792e949e6385f93 /meta/packages | |
parent | e4d0c6479e04f8fa88686570dd0b2847abe75d56 (diff) | |
download | poky-90a50d59d97a58b66c836d5cda459acd5407a4fc.tar.gz |
e2fsprogs: Drop unneeded custom staging function by improving do_install and convert to use BBCLASSEXTEND for -native recipe
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages')
-rw-r--r-- | meta/packages/e2fsprogs/e2fsprogs-native_1.41.5.bb | 35 | ||||
-rw-r--r-- | meta/packages/e2fsprogs/e2fsprogs.inc | 4 | ||||
-rw-r--r-- | meta/packages/e2fsprogs/e2fsprogs_1.41.5.bb | 39 |
3 files changed, 9 insertions, 69 deletions
diff --git a/meta/packages/e2fsprogs/e2fsprogs-native_1.41.5.bb b/meta/packages/e2fsprogs/e2fsprogs-native_1.41.5.bb deleted file mode 100644 index dd0dcea6bf..0000000000 --- a/meta/packages/e2fsprogs/e2fsprogs-native_1.41.5.bb +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | require e2fsprogs_${PV}.bb | ||
2 | inherit native | ||
3 | |||
4 | DEPENDS = "gettext-native" | ||
5 | PR = "r2" | ||
6 | |||
7 | do_stage () { | ||
8 | #oe_libinstall -a -C lib libblkid ${STAGING_LIBDIR}/ | ||
9 | oe_libinstall -a -C lib libe2p ${STAGING_LIBDIR}/ | ||
10 | oe_libinstall -a -C lib libext2fs ${STAGING_LIBDIR}/ | ||
11 | oe_libinstall -a -C lib libuuid ${STAGING_LIBDIR}/ | ||
12 | install -d ${STAGING_BINDIR_NATIVE}/ | ||
13 | for b in ${e2miscbins}; do | ||
14 | install -m 0755 misc/$b ${STAGING_BINDIR_NATIVE}/ || die "failed to install $b" | ||
15 | done | ||
16 | install -d ${STAGING_INCDIR}/e2p | ||
17 | for h in ${e2pheaders}; do | ||
18 | install -m 0644 lib/e2p/$h ${STAGING_INCDIR}/e2p/ || die "failed to install $h" | ||
19 | done | ||
20 | install -d ${STAGING_INCDIR}/ext2fs | ||
21 | for h in ${ext2fsheaders}; do | ||
22 | install -m 0644 lib/ext2fs/$h ${STAGING_INCDIR}/ext2fs/ || die "failed to install $h" | ||
23 | done | ||
24 | #install -d ${STAGING_INCDIR}/blkid | ||
25 | #for h in blkid.h blkid_types.h; do | ||
26 | # install -m 0644 lib/blkid/$h ${STAGING_INCDIR}/blkid/ || die "failed to install $h" | ||
27 | #done | ||
28 | install -d ${STAGING_INCDIR}/uuid | ||
29 | install -m 0644 lib/uuid/uuid.h ${STAGING_INCDIR}/uuid/ || die "failed to install $h" | ||
30 | |||
31 | install -d ${STAGING_LIBDIR}/pkgconfig | ||
32 | for pc in lib/*/*.pc; do | ||
33 | install -m 0644 $pc ${STAGING_LIBDIR}/pkgconfig/ || die "failed to install $h" | ||
34 | done | ||
35 | } | ||
diff --git a/meta/packages/e2fsprogs/e2fsprogs.inc b/meta/packages/e2fsprogs/e2fsprogs.inc index aa8fc8f510..63a56bc5cd 100644 --- a/meta/packages/e2fsprogs/e2fsprogs.inc +++ b/meta/packages/e2fsprogs/e2fsprogs.inc | |||
@@ -11,7 +11,3 @@ inherit autotools | |||
11 | 11 | ||
12 | EXTRA_OECONF = " --enable-dynamic-e2fsck" | 12 | EXTRA_OECONF = " --enable-dynamic-e2fsck" |
13 | 13 | ||
14 | e2miscbins = "mke2fs badblocks tune2fs dumpe2fs blkid logsave e2image fsck \ | ||
15 | e2undo chattr lsattr uuidgen mklost+found filefrag uuidd e2initrd_helper" | ||
16 | |||
17 | |||
diff --git a/meta/packages/e2fsprogs/e2fsprogs_1.41.5.bb b/meta/packages/e2fsprogs/e2fsprogs_1.41.5.bb index f209240810..7eb1bde41f 100644 --- a/meta/packages/e2fsprogs/e2fsprogs_1.41.5.bb +++ b/meta/packages/e2fsprogs/e2fsprogs_1.41.5.bb | |||
@@ -15,36 +15,13 @@ do_compile_prepend () { | |||
15 | ( cd util; ${BUILD_CC} subst.c -o subst ) | 15 | ( cd util; ${BUILD_CC} subst.c -o subst ) |
16 | } | 16 | } |
17 | 17 | ||
18 | ext2fsheaders = "ext2_ext_attr.h bitops.h ext2_err.h \ | 18 | do_install () { |
19 | ext2_types.h ext2_fs.h ext2_io.h \ | 19 | oe_runmake 'DESTDIR=${D}' install |
20 | ext2fs.h ext3_extents.h" | 20 | oe_runmake 'DESTDIR=${D}' install-libs |
21 | e2pheaders = "e2p.h" | 21 | # We use blkid from util-linux now so remove from here |
22 | 22 | rm -f ${D}${libdir}/libblkid* | |
23 | do_stage () { | 23 | rm -rf ${D}${includedir}/blkid |
24 | #oe_libinstall -a -C lib libblkid ${STAGING_LIBDIR}/ | 24 | rm -f ${D}${libdir}/pkgconfig/blkid.oc |
25 | oe_libinstall -a -C lib libe2p ${STAGING_LIBDIR}/ | ||
26 | oe_libinstall -a -C lib libext2fs ${STAGING_LIBDIR}/ | ||
27 | oe_libinstall -a -C lib libuuid ${STAGING_LIBDIR}/ | ||
28 | install -d ${STAGING_INCDIR}/e2p | ||
29 | for h in ${e2pheaders}; do | ||
30 | install -m 0644 lib/e2p/$h ${STAGING_INCDIR}/e2p/ || die "failed to install $h" | ||
31 | done | ||
32 | install -d ${STAGING_INCDIR}/ext2fs | ||
33 | for h in ${ext2fsheaders}; do | ||
34 | install -m 0644 lib/ext2fs/$h ${STAGING_INCDIR}/ext2fs/ || die "failed to install $h" | ||
35 | done | ||
36 | #install -d ${STAGING_INCDIR}/blkid | ||
37 | #for h in blkid.h blkid_types.h; do | ||
38 | # install -m 0644 lib/blkid/$h ${STAGING_INCDIR}/blkid/ || die "failed to install $h" | ||
39 | #done | ||
40 | install -d ${STAGING_INCDIR}/uuid | ||
41 | install -m 0644 lib/uuid/uuid.h ${STAGING_INCDIR}/uuid/ || die "failed to install $h" | ||
42 | |||
43 | install -d ${STAGING_LIBDIR}/pkgconfig | ||
44 | rm lib/*/blkid.pc | ||
45 | for pc in lib/*/*.pc; do | ||
46 | install -m 0644 $pc ${STAGING_LIBDIR}/pkgconfig/ || die "failed to install $h" | ||
47 | done | ||
48 | } | 25 | } |
49 | 26 | ||
50 | # blkid used to be part of e2fsprogs but is useful outside, add it | 27 | # blkid used to be part of e2fsprogs but is useful outside, add it |
@@ -61,3 +38,5 @@ FILES_e2fsprogs-mke2fs = "${base_sbindir}/mke2fs ${base_sbindir}/mkfs.ext*" | |||
61 | FILES_e2fsprogs-tune2fs = "${base_sbindir}/tune2fs ${base_sbindir}/e2label ${base_sbindir}/findfs" | 38 | FILES_e2fsprogs-tune2fs = "${base_sbindir}/tune2fs ${base_sbindir}/e2label ${base_sbindir}/findfs" |
62 | FILES_e2fsprogs-badblocks = "${base_sbindir}/badblocks" | 39 | FILES_e2fsprogs-badblocks = "${base_sbindir}/badblocks" |
63 | FILES_libuuid = "${libdir}/libuuid.so.*" | 40 | FILES_libuuid = "${libdir}/libuuid.so.*" |
41 | |||
42 | BBCLASSEXTEND = "native" | ||