summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/elfutils
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-02 11:22:24 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-02 11:22:24 +0000
commitcb8153cccd1c96a1c6adeba4d0bb12c216c4161e (patch)
tree61d7cb3e4467620ee4775729aa8e418697610388 /meta/recipes-devtools/elfutils
parent6f6a2035f690ebb011bf060743ac1a4b0c73ba00 (diff)
downloadpoky-cb8153cccd1c96a1c6adeba4d0bb12c216c4161e.tar.gz
elfutils: Clean up old versions which are no longer required
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/elfutils')
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.108/warnings.patch132
-rw-r--r--meta/recipes-devtools/elfutils/elfutils-0.89/warnings.patch98
-rw-r--r--meta/recipes-devtools/elfutils/elfutils_0.108.bb25
-rw-r--r--meta/recipes-devtools/elfutils/elfutils_0.89.bb10
4 files changed, 0 insertions, 265 deletions
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.108/warnings.patch b/meta/recipes-devtools/elfutils/elfutils-0.108/warnings.patch
deleted file mode 100644
index 680e0441fe..0000000000
--- a/meta/recipes-devtools/elfutils/elfutils-0.108/warnings.patch
+++ /dev/null
@@ -1,132 +0,0 @@
1Index: elfutils-0.108/configure.ac
2===================================================================
3--- elfutils-0.108.orig/configure.ac 2006-04-10 19:18:34.000000000 +0100
4+++ elfutils-0.108/configure.ac 2006-04-10 19:19:33.000000000 +0100
5@@ -49,6 +49,10 @@
6 dnl Add all the languages for which translations are available.
7 ALL_LINGUAS=
8
9+if test X"$CFLAGS" = X; then
10+ CFLAGS="-Wall -g -O2"
11+fi
12+
13 AC_PROG_CC
14 AC_PROG_RANLIB
15 AC_PROG_YACC
16Index: elfutils-0.108/lib/Makefile.am
17===================================================================
18--- elfutils-0.108.orig/lib/Makefile.am 2006-04-10 19:18:34.000000000 +0100
19+++ elfutils-0.108/lib/Makefile.am 2006-04-10 19:19:33.000000000 +0100
20@@ -21,7 +21,7 @@
21 else
22 AM_CFLAGS =
23 endif
24-AM_CFLAGS += -fpic -Wall -Wshadow -Werror -Wunused -Wextra $($(*F)_CFLAGS)
25+AM_CFLAGS += -fpic -Wshadow -Wunused $($(*F)_CFLAGS)
26 INCLUDES = -I$(srcdir)/../libelf -I..
27
28 noinst_LIBRARIES = libeu.a
29Index: elfutils-0.108/libasm/Makefile.am
30===================================================================
31--- elfutils-0.108.orig/libasm/Makefile.am 2006-04-10 19:18:34.000000000 +0100
32+++ elfutils-0.108/libasm/Makefile.am 2006-04-10 19:19:33.000000000 +0100
33@@ -18,7 +18,7 @@
34 else
35 AM_CFLAGS =
36 endif
37-AM_CFLAGS += -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2
38+AM_CFLAGS += -Wshadow -Wunused -Wformat=2
39 INCLUDES = -I. -I$(srcdir) -I.. -I$(top_srcdir)/libelf -I$(top_srcdir)/libebl \
40 -I$(top_srcdir)/lib
41 GCC_INCLUDE = -I$(shell $(CC) -print-file-name=include)
42Index: elfutils-0.108/libcpu/Makefile.am
43===================================================================
44--- elfutils-0.108.orig/libcpu/Makefile.am 2006-04-10 19:18:34.000000000 +0100
45+++ elfutils-0.108/libcpu/Makefile.am 2006-04-10 19:19:33.000000000 +0100
46@@ -13,7 +13,7 @@
47 ## 3001 King Ranch Road, Ukiah, CA 95482.
48 ##
49 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H
50-AM_CFLAGS = -Wall -Wshadow -Werror -Wextra -Wformat=2 -Wunused
51+AM_CFLAGS = -Wshadow -Wformat=2 -Wunused
52 INCLUDES = -I$(srcdir)
53
54 noinst_LIBRARIES = libcpu_i386.a
55Index: elfutils-0.108/libdw/Makefile.am
56===================================================================
57--- elfutils-0.108.orig/libdw/Makefile.am 2006-04-10 19:18:34.000000000 +0100
58+++ elfutils-0.108/libdw/Makefile.am 2006-04-10 19:19:33.000000000 +0100
59@@ -18,7 +18,7 @@
60 else
61 AM_CFLAGS =
62 endif
63-AM_CFLAGS += -Wall -Werror -Wshadow -Wunused -Wformat=2 -Wextra -std=gnu99
64+AM_CFLAGS += -Wshadow -Wunused -Wformat=2 -std=gnu99
65 INCLUDES = -I. -I$(srcdir) -I$(srcdir)/../libelf -I.. -I$(srcdir)/../lib
66 VERSION = 1
67
68Index: elfutils-0.108/libebl/Makefile.am
69===================================================================
70--- elfutils-0.108.orig/libebl/Makefile.am 2006-04-10 19:18:34.000000000 +0100
71+++ elfutils-0.108/libebl/Makefile.am 2006-04-10 19:19:33.000000000 +0100
72@@ -18,7 +18,7 @@
73 else
74 AM_CFLAGS =
75 endif
76-AM_CFLAGS += -fpic -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2 \
77+AM_CFLAGS += -fpic -Wshadow -Wunused -Wformat=2 \
78 -std=gnu99
79
80 INCLUDES = -I$(srcdir) -I$(top_srcdir)/libelf -I$(top_srcdir)/lib -I..
81Index: elfutils-0.108/libelf/Makefile.am
82===================================================================
83--- elfutils-0.108.orig/libelf/Makefile.am 2006-04-10 19:18:34.000000000 +0100
84+++ elfutils-0.108/libelf/Makefile.am 2006-04-10 19:19:33.000000000 +0100
85@@ -21,7 +21,7 @@
86 else
87 AM_CFLAGS =
88 endif
89-AM_CFLAGS += -Wall -Wshadow -Werror -Wunused -Wextra -Wformat=2 -std=gnu99 \
90+AM_CFLAGS += -Wshadow -Wunused -Wformat=2 -std=gnu99 \
91 $($(*F)_CFLAGS)
92 INCLUDES = -I$(srcdir) -I$(top_srcdir)/lib -I..
93 GCC_INCLUDE = -I$(shell $(CC) -print-file-name=include)
94Index: elfutils-0.108/src/Makefile.am
95===================================================================
96--- elfutils-0.108.orig/src/Makefile.am 2006-04-10 19:18:34.000000000 +0100
97+++ elfutils-0.108/src/Makefile.am 2006-04-10 19:20:19.000000000 +0100
98@@ -15,14 +15,12 @@
99 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H $(YYDEBUG) \
100 -DSRCDIR=\"$(shell cd $(srcdir);pwd)\" -DOBJDIR=\"$(shell pwd)\"
101 if MUDFLAP
102-AM_CFLAGS = -Wall -Wshadow -Wunused -Wextra -std=gnu99 -fmudflap \
103+AM_CFLAGS = -Wshadow -Wunused -std=gnu99 -fmudflap \
104 $(native_ld_cflags) $(if $($(*F)_no_Wunused),,-Wunused) \
105 $(if $($(*F)_no_Wformat),,-Wformat=2)
106 else
107-AM_CFLAGS = -Wall -Wshadow -std=gnu99 $(native_ld_cflags) \
108- $(if $($(*F)_no_Werror),,-Werror) \
109- $(if $($(*F)_no_Wunused),,-Wunused -Wextra) \
110- $(if $($(*F)_no_Wformat),,-Wformat=2)
111+AM_CFLAGS = -Wshadow -std=gnu99 $(native_ld_cflags) \
112+ $(if $($(*F)_no_Werror),,)
113 endif
114 if MUDFLAP
115 libmudflap = -lmudflap
116Index: elfutils-0.108/tests/Makefile.am
117===================================================================
118--- elfutils-0.108.orig/tests/Makefile.am 2006-04-10 19:18:34.000000000 +0100
119+++ elfutils-0.108/tests/Makefile.am 2006-04-10 19:19:33.000000000 +0100
120@@ -14,10 +14,10 @@
121 ##
122 DEFS = -DHAVE_CONFIG_H -D_GNU_SOURCE
123 if MUDFLAP
124-AM_CFLAGS = -Wall -Werror -std=gnu99 -fmudflap\
125+AM_CFLAGS = -std=gnu99 -fmudflap\
126 $(if $($(*F)_no_Wformat),-Wno-format,-Wformat=2)
127 else
128-AM_CFLAGS = -Wall -Werror -std=gnu99 \
129+AM_CFLAGS = -std=gnu99 \
130 $(if $($(*F)_no_Wformat),-Wno-format,-Wformat=2)
131 AM_LDFLAGS = -Wl,-rpath,\$$ORIGIN/../libasm:\$$ORIGIN/../libdw:\$$ORIGIN/../libebl:\$$ORIGIN/../libelf
132 endif
diff --git a/meta/recipes-devtools/elfutils/elfutils-0.89/warnings.patch b/meta/recipes-devtools/elfutils/elfutils-0.89/warnings.patch
deleted file mode 100644
index 2a1ea09a61..0000000000
--- a/meta/recipes-devtools/elfutils/elfutils-0.89/warnings.patch
+++ /dev/null
@@ -1,98 +0,0 @@
1--- elfutils-0.89/configure.ac~warnings.patch 2003-09-26 02:04:04.000000000 -0400
2+++ elfutils-0.89/configure.ac 2004-05-01 00:16:33.000000000 -0400
3@@ -28,6 +28,10 @@
4
5 ALL_LINGUAS=
6
7+if test X"$CFLAGS" = X; then
8+ CFLAGS="-Wall -Werror -g -O2"
9+fi
10+
11 AC_PROG_CC
12 AC_PROG_CPP
13 AC_PROG_GCC_TRADITIONAL
14--- elfutils-0.89/./lib/Makefile.am~warnings.patch 2003-09-22 18:57:58.000000000 -0400
15+++ elfutils-0.89/./lib/Makefile.am 2004-05-01 00:12:43.000000000 -0400
16@@ -14,7 +14,7 @@
17 ## 3001 King Ranch Road, Ukiah, CA 95482.
18 ##
19 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H
20-AM_CFLAGS = -Wall -Werror -fpic
21+AM_CFLAGS = -fpic
22 INCLUDES = -I$(srcdir)/../libelf -I..
23
24 noinst_LIBRARIES = libeu.a
25--- elfutils-0.89/./libelf/Makefile.am~warnings.patch 2003-08-12 02:45:24.000000000 -0400
26+++ elfutils-0.89/./libelf/Makefile.am 2004-05-01 00:12:43.000000000 -0400
27@@ -14,7 +14,6 @@
28 ## 3001 King Ranch Road, Ukiah, CA 95482.
29 ##
30 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H
31-AM_CFLAGS = -Wall -Werror
32 INCLUDES = -I$(srcdir) -I$(top_srcdir)/lib -I..
33 GCC_INCLUDE = -I$(shell $(CC) -print-file-name=include)
34 VERSION = 1
35--- elfutils-0.89/./libebl/Makefile.am~warnings.patch 2003-09-22 18:53:17.000000000 -0400
36+++ elfutils-0.89/./libebl/Makefile.am 2004-05-01 00:12:43.000000000 -0400
37@@ -14,7 +14,7 @@
38 ## 3001 King Ranch Road, Ukiah, CA 95482.
39 ##
40 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall
41-AM_CFLAGS = -Wall -Werror -DOBJDIR=\"$(shell pwd)\" -fpic
42+AM_CFLAGS = -DOBJDIR=\"$(shell pwd)\" -fpic
43 INCLUDES = -I$(srcdir) -I$(top_srcdir)/libelf -I$(top_srcdir)/lib -I..
44 VERSION = 1
45 PACKAGE_VERSION = @PACKAGE_VERSION@
46--- elfutils-0.89/./libdwarf/Makefile.am~warnings.patch 2003-08-12 02:46:05.000000000 -0400
47+++ elfutils-0.89/./libdwarf/Makefile.am 2004-05-01 00:12:43.000000000 -0400
48@@ -14,7 +14,6 @@
49 ## 3001 King Ranch Road, Ukiah, CA 95482.
50 ##
51 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H -DDWARF_DEBUG
52-AM_CFLAGS = -Wall -Werror
53 INCLUDES = -I. -I$(srcdir) -I$(srcdir)/../libelf -I.. -I$(srcdir)/../lib
54 VERSION = 1
55
56--- elfutils-0.89/./libdw/Makefile.am~warnings.patch 2003-08-12 02:46:18.000000000 -0400
57+++ elfutils-0.89/./libdw/Makefile.am 2004-05-01 00:12:43.000000000 -0400
58@@ -17,7 +17,6 @@
59 ## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
60 ##
61 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H
62-AM_CFLAGS = -Wall -Werror -Wshadow
63 INCLUDES = -I. -I$(srcdir) -I$(srcdir)/../libelf -I.. -I$(srcdir)/../lib
64 VERSION = 1
65
66--- elfutils-0.89/./libasm/Makefile.am~warnings.patch 2003-08-13 05:21:25.000000000 -0400
67+++ elfutils-0.89/./libasm/Makefile.am 2004-05-01 00:12:43.000000000 -0400
68@@ -14,7 +14,6 @@
69 ## 3001 King Ranch Road, Ukiah, CA 95482.
70 ##
71 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H
72-AM_CFLAGS = -Wall -Werror
73 INCLUDES = -I. -I$(srcdir) -I.. -I$(top_srcdir)/libelf -I$(top_srcdir)/libebl \
74 -I$(top_srcdir)/lib
75 GCC_INCLUDE = -I$(shell $(CC) -print-file-name=include)
76--- elfutils-0.89/./src/Makefile.am~warnings.patch 2003-09-22 18:57:09.000000000 -0400
77+++ elfutils-0.89/./src/Makefile.am 2004-05-01 00:12:43.000000000 -0400
78@@ -14,8 +14,8 @@
79 ## 3001 King Ranch Road, Ukiah, CA 95482.
80 ##
81 DEFS = -D_GNU_SOURCE -DHAVE_CONFIG_H -Wall -Wshadow $(YYDEBUG) \
82- $(if $($(*F)_no_Werror),,-Werror) $(native_ld_cflags)
83-AM_CFLAGS = -Wall -DSRCDIR=\"$(shell cd $(srcdir);pwd)\" -DOBJDIR=\"$(shell pwd)\"
84+ $(if $(filter -Werror,$(CFLAGS)),$(if $($(*F)_no_Werror),,-Werror)) $(native_ld_cflags)
85+AM_CFLAGS = -DSRCDIR=\"$(shell cd $(srcdir);pwd)\" -DOBJDIR=\"$(shell pwd)\"
86 INCLUDES = -I$(srcdir) -I$(srcdir)/../libelf -I$(srcdir)/../libebl -I$(srcdir)/../lib -I$(srcdir)/../libdwarf -I..
87
88 YACC = @YACC@ -d
89--- elfutils-0.89/./tests/Makefile.am~warnings.patch 2003-08-13 05:19:04.000000000 -0400
90+++ elfutils-0.89/./tests/Makefile.am 2004-05-01 00:12:43.000000000 -0400
91@@ -14,7 +14,6 @@
92 ## 3001 King Ranch Road, Ukiah, CA 95482.
93 ##
94 DEFS = -DHAVE_CONFIG_H -D_GNU_SOURCE
95-AM_CFLAGS = -Wall -Werror
96 AM_LDFLAGS = -Wl,-rpath,\$$ORIGIN/../libasm:\$$ORIGIN/../libdwarf:\$$ORIGIN/../libdw:\$$ORIGIN/../libebl:\$$ORIGIN/../libelf
97 INCLUDES = -I$(top_srcdir)/libasm -I$(top_srcdir)/libdwarf \
98 -I$(top_srcdir)/libdw \
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.108.bb b/meta/recipes-devtools/elfutils/elfutils_0.108.bb
deleted file mode 100644
index 67f34a0acd..0000000000
--- a/meta/recipes-devtools/elfutils/elfutils_0.108.bb
+++ /dev/null
@@ -1,25 +0,0 @@
1SECTION = "base"
2LICENSE = "OSL"
3DESCRIPTION = "A collection of utilities and DSOs to handle compiled objects."
4DEPENDS = "libtool"
5PR = "r2"
6
7SRC_URI = "http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/elfutils-${PV}.tar.gz \
8 file://warnings.patch;patch=1"
9
10inherit autotools
11
12# Package binaries that overlap with binutils separately
13PACKAGES =+ "${PN}-binutils"
14FILES_${PN}-binutils = "\
15 ${bindir}/addr2line \
16 ${bindir}/ld \
17 ${bindir}/nm \
18 ${bindir}/readelf \
19 ${bindir}/size \
20 ${bindir}/strip"
21# Fix library issues
22FILES_${PN} =+ "${libdir}/*-${PV}.so"
23
24# The elfutils package contains symlinks that trip up insane
25INSANE_SKIP_elfutils = "1"
diff --git a/meta/recipes-devtools/elfutils/elfutils_0.89.bb b/meta/recipes-devtools/elfutils/elfutils_0.89.bb
deleted file mode 100644
index 24cb37ad1f..0000000000
--- a/meta/recipes-devtools/elfutils/elfutils_0.89.bb
+++ /dev/null
@@ -1,10 +0,0 @@
1SECTION = "base"
2LICENSE = "OSL"
3DESCRIPTION = "A collection of utilities and DSOs to handle compiled objects."
4DEPENDS = "libtool"
5
6SRC_URI = "http://distro.ibiblio.org/pub/linux/distributions/gentoo/distfiles/elfutils-${PV}.tar.gz \
7 file://warnings.patch;patch=1"
8
9inherit autotools
10