summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-16 22:45:27 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-16 22:45:27 +0000
commit79c0a43c2c809285616b913dcb44b6515f98f791 (patch)
tree5700bd431563adc5f91702370ed500bbe12d14a2 /meta
parent76d9b6ea7f504b2d85f854936359f6aadb480eb0 (diff)
downloadpoky-79c0a43c2c809285616b913dcb44b6515f98f791.tar.gz
elfutils: Convert to autotools_stage_all
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/elfutils/elfutils_0.108.bb29
-rw-r--r--meta/packages/elfutils/elfutils_0.131.bb29
-rw-r--r--meta/packages/elfutils/elfutils_0.89.bb35
3 files changed, 3 insertions, 90 deletions
diff --git a/meta/packages/elfutils/elfutils_0.108.bb b/meta/packages/elfutils/elfutils_0.108.bb
index 701279fa50..37e5fbd14f 100644
--- a/meta/packages/elfutils/elfutils_0.108.bb
+++ b/meta/packages/elfutils/elfutils_0.108.bb
@@ -7,7 +7,7 @@ PR = "r2"
7SRC_URI = "http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/elfutils-${PV}.tar.gz \ 7SRC_URI = "http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/elfutils-${PV}.tar.gz \
8 file://warnings.patch;patch=1" 8 file://warnings.patch;patch=1"
9 9
10inherit autotools 10inherit autotools_stage
11 11
12# Package binaries that overlap with binutils separately 12# Package binaries that overlap with binutils separately
13PACKAGES =+ "${PN}-binutils" 13PACKAGES =+ "${PN}-binutils"
@@ -21,32 +21,5 @@ FILES_${PN}-binutils = "\
21# Fix library issues 21# Fix library issues
22FILES_${PN} =+ "${libdir}/*-${PV}.so" 22FILES_${PN} =+ "${libdir}/*-${PV}.so"
23 23
24SOV = "${PV}"
25do_stage () {
26 install -m 0644 libelf/libelf.a ${STAGING_LIBDIR}/libelf.a
27 install -m 0755 libelf/libelf.so.1 ${STAGING_LIBDIR}/libelf-${SOV}.so
28 ln -sf libelf-${SOV}.so ${STAGING_LIBDIR}/libelf.so.1
29 ln -sf libelf.so.1 ${STAGING_LIBDIR}/libelf.so
30 install -m 0644 libasm/libasm.a ${STAGING_LIBDIR}/libasm.a
31 install -m 0755 libasm/libasm.so.1 ${STAGING_LIBDIR}/libasm-${SOV}.so
32 ln -sf libasm-${SOV}.so ${STAGING_LIBDIR}/libasm.so.1
33 ln -sf libasm.so.1 ${STAGING_LIBDIR}/libasm.so
34 install -m 0644 libdw/libdw.a ${STAGING_LIBDIR}/libdw.a
35 install -m 0755 libdw/libdw.so.1 ${STAGING_LIBDIR}/libdw-${SOV}.so
36 ln -sf libdw-${SOV}.so ${STAGING_LIBDIR}/libdw.so.1
37 ln -sf libdw.so.1 ${STAGING_LIBDIR}/libdw.so
38 install -m 0644 libebl/libebl.a ${STAGING_LIBDIR}/libebl.a
39 install -d ${STAGING_LIBDIR}/elfutils/
40 install -m 0755 libebl/libebl_*.so ${STAGING_LIBDIR}/elfutils/
41
42 install -m 0644 ${S}/libelf/libelf.h ${STAGING_INCDIR}/
43 install -m 0644 ${S}/libelf/gelf.h ${STAGING_INCDIR}/
44 install -m 0644 ${S}/libelf/nlist.h ${STAGING_INCDIR}/
45 install -d ${STAGING_INCDIR}/elfutils
46 install -m 0644 ${S}/libebl/libebl.h ${STAGING_INCDIR}/elfutils/
47 install -m 0644 ${S}/libdw/libdw.h ${STAGING_INCDIR}/elfutils/
48 install -m 0644 ${S}/libasm/libasm.h ${STAGING_INCDIR}/elfutils/
49}
50
51# The elfutils package contains symlinks that trip up insane 24# The elfutils package contains symlinks that trip up insane
52INSANE_SKIP_elfutils = "1" 25INSANE_SKIP_elfutils = "1"
diff --git a/meta/packages/elfutils/elfutils_0.131.bb b/meta/packages/elfutils/elfutils_0.131.bb
index 3385ae0c27..8bb3c8925f 100644
--- a/meta/packages/elfutils/elfutils_0.131.bb
+++ b/meta/packages/elfutils/elfutils_0.131.bb
@@ -8,7 +8,7 @@ SRC_URI = "http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/el
8 file://gcc-4.3_support.diff;patch=1 \ 8 file://gcc-4.3_support.diff;patch=1 \
9 file://gnu_inline.diff;patch=1" 9 file://gnu_inline.diff;patch=1"
10 10
11inherit autotools 11inherit autotools_stage
12 12
13# Package binaries that overlap with binutils separately 13# Package binaries that overlap with binutils separately
14PACKAGES =+ "${PN}-binutils" 14PACKAGES =+ "${PN}-binutils"
@@ -22,32 +22,5 @@ FILES_${PN}-binutils = "\
22# Fix library issues 22# Fix library issues
23FILES_${PN} =+ "${libdir}/*-${PV}.so" 23FILES_${PN} =+ "${libdir}/*-${PV}.so"
24 24
25SOV = "${PV}"
26do_stage () {
27 install -m 0644 libelf/libelf.a ${STAGING_LIBDIR}/libelf.a
28 install -m 0755 libelf/libelf.so.1 ${STAGING_LIBDIR}/libelf-${SOV}.so
29 ln -sf libelf-${SOV}.so ${STAGING_LIBDIR}/libelf.so.1
30 ln -sf libelf.so.1 ${STAGING_LIBDIR}/libelf.so
31 install -m 0644 libasm/libasm.a ${STAGING_LIBDIR}/libasm.a
32 install -m 0755 libasm/libasm.so.1 ${STAGING_LIBDIR}/libasm-${SOV}.so
33 ln -sf libasm-${SOV}.so ${STAGING_LIBDIR}/libasm.so.1
34 ln -sf libasm.so.1 ${STAGING_LIBDIR}/libasm.so
35 install -m 0644 libdw/libdw.a ${STAGING_LIBDIR}/libdw.a
36 install -m 0755 libdw/libdw.so.1 ${STAGING_LIBDIR}/libdw-${SOV}.so
37 ln -sf libdw-${SOV}.so ${STAGING_LIBDIR}/libdw.so.1
38 ln -sf libdw.so.1 ${STAGING_LIBDIR}/libdw.so
39 install -m 0644 libebl/libebl.a ${STAGING_LIBDIR}/libebl.a
40 install -d ${STAGING_LIBDIR}/elfutils/
41 install -m 0755 backends/libebl_*.so ${STAGING_LIBDIR}/elfutils/
42
43 install -m 0644 ${S}/libelf/libelf.h ${STAGING_INCDIR}/
44 install -m 0644 ${S}/libelf/gelf.h ${STAGING_INCDIR}/
45 install -m 0644 ${S}/libelf/nlist.h ${STAGING_INCDIR}/
46 install -d ${STAGING_INCDIR}/elfutils
47 install -m 0644 ${S}/libebl/libebl.h ${STAGING_INCDIR}/elfutils/
48 install -m 0644 ${S}/libdw/libdw.h ${STAGING_INCDIR}/elfutils/
49 install -m 0644 ${S}/libasm/libasm.h ${STAGING_INCDIR}/elfutils/
50}
51
52# The elfutils package contains symlinks that trip up insane 25# The elfutils package contains symlinks that trip up insane
53INSANE_SKIP_elfutils = "1" 26INSANE_SKIP_elfutils = "1"
diff --git a/meta/packages/elfutils/elfutils_0.89.bb b/meta/packages/elfutils/elfutils_0.89.bb
index aad2275ef9..b59c33e8c9 100644
--- a/meta/packages/elfutils/elfutils_0.89.bb
+++ b/meta/packages/elfutils/elfutils_0.89.bb
@@ -6,38 +6,5 @@ DEPENDS = "libtool"
6SRC_URI = "http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/elfutils-${PV}.tar.gz \ 6SRC_URI = "http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/elfutils-${PV}.tar.gz \
7 file://warnings.patch;patch=1" 7 file://warnings.patch;patch=1"
8 8
9inherit autotools 9inherit autotools_stage
10 10
11SOV = "${PV}"
12do_stage () {
13 install -m 0644 libelf/libelf.a ${STAGING_LIBDIR}/libelf.a
14 install -m 0755 libelf/libelf.so.1 ${STAGING_LIBDIR}/libelf-${SOV}.so
15 ln -sf libelf-${SOV}.so ${STAGING_LIBDIR}/libelf.so.1
16 ln -sf libelf.so.1 ${STAGING_LIBDIR}/libelf.so
17 install -m 0644 libasm/libasm.a ${STAGING_LIBDIR}/libasm.a
18 install -m 0755 libasm/libasm.so.1 ${STAGING_LIBDIR}/libasm-${SOV}.so
19 ln -sf libasm-${SOV}.so ${STAGING_LIBDIR}/libasm.so.1
20 ln -sf libasm.so.1 ${STAGING_LIBDIR}/libasm.so
21 install -m 0644 libdw/libdw.a ${STAGING_LIBDIR}/libdw.a
22 install -m 0755 libdw/libdw.so.1 ${STAGING_LIBDIR}/libdw-${SOV}.so
23 ln -sf libdw-${SOV}.so ${STAGING_LIBDIR}/libdw.so.1
24 ln -sf libdw.so.1 ${STAGING_LIBDIR}/libdw.so
25 install -m 0644 libebl/libebl.a ${STAGING_LIBDIR}/libebl.a
26 install -d ${STAGING_LIBDIR}/elfutils/
27 install -m 0755 libebl/libebl_*.so ${STAGING_LIBDIR}/elfutils/
28 install -m 0644 libdwarf/libdwarf.a ${STAGING_LIBDIR}/libdwarf.a
29 install -m 0755 libdwarf/libdwarf.so.1 ${STAGING_LIBDIR}/libdwarf-${SOV}.so
30 ln -sf libdwarf-${SOV}.so ${STAGING_LIBDIR}/libdwarf.so.1
31 ln -sf libdwarf.so.1 ${STAGING_LIBDIR}/libdwarf.so
32
33 install -m 0644 ${S}/libelf/libelf.h ${STAGING_INCDIR}/
34 install -m 0644 ${S}/libelf/gelf.h ${STAGING_INCDIR}/
35 install -m 0644 ${S}/libelf/nlist.h ${STAGING_INCDIR}/
36 install -m 0644 ${S}/libdwarf/dwarf.h ${STAGING_INCDIR}/
37 install -d ${STAGING_INCDIR}/elfutils
38 install -m 0644 ${S}/libebl/libebl.h ${STAGING_INCDIR}/elfutils/
39 install -m 0644 ${S}/libebl/elf-knowledge.h ${STAGING_INCDIR}/elfutils/
40 install -m 0644 ${S}/libdwarf/libdwarf.h ${STAGING_INCDIR}/elfutils/
41 install -m 0644 ${S}/libdw/libdw.h ${STAGING_INCDIR}/elfutils/
42 install -m 0644 ${S}/libasm/libasm.h ${STAGING_INCDIR}/elfutils/
43}