summaryrefslogtreecommitdiffstats
path: root/meta/packages/binutils/binutils_csl-arm-2006q1.bb
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-07-15 11:17:11 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-07-15 11:17:11 +0100
commit868617258a02818b22ec4aabe125dc364b5b9c88 (patch)
tree1140c1a54dc094e54a540f63d535cdd81ee426a1 /meta/packages/binutils/binutils_csl-arm-2006q1.bb
parent0f19ae1b00edd8238d25df99643f9d5a6f9a564a (diff)
downloadpoky-868617258a02818b22ec4aabe125dc364b5b9c88.tar.gz
binutils: Drop old versions
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/binutils/binutils_csl-arm-2006q1.bb')
-rw-r--r--meta/packages/binutils/binutils_csl-arm-2006q1.bb127
1 files changed, 0 insertions, 127 deletions
diff --git a/meta/packages/binutils/binutils_csl-arm-2006q1.bb b/meta/packages/binutils/binutils_csl-arm-2006q1.bb
deleted file mode 100644
index c07c78f574..0000000000
--- a/meta/packages/binutils/binutils_csl-arm-2006q1.bb
+++ /dev/null
@@ -1,127 +0,0 @@
1DESCRIPTION = "A GNU collection of binary utilities"
2HOMEPAGE = "http://www.gnu.org/software/binutils/"
3SECTION = "devel"
4LICENSE = "GPL"
5DEFAULT_PREFERENCE = "-1"
6
7BINV = "2.17"
8PV = "2.17+csl-arm-2006q1-6"
9
10#FILESDIR = "${FILE_DIRNAME}/binutils-"
11
12S = "${WORKDIR}/binutils-2.17"
13
14inherit autotools gettext
15
16PACKAGES = "${PN} ${PN}-dev ${PN}-doc ${PN}-symlinks"
17
18FILES_${PN} = " \
19 ${bindir}/${TARGET_PREFIX}* \
20 ${libdir}/lib*-*.so \
21 ${prefix}/${TARGET_SYS}/bin/*"
22
23FILES_${PN}-dev = " \
24 ${includedir} \
25 ${libdir}/*.a \
26 ${libdir}/*.la \
27 ${libdir}/libbfd.so \
28 ${libdir}/libopcodes.so"
29
30FILES_${PN}-symlinks = " \
31 ${bindir}/addr2line \
32 ${bindir}/ar \
33 ${bindir}/as \
34 ${bindir}/c++filt \
35 ${bindir}/gprof \
36 ${bindir}/ld \
37 ${bindir}/nm \
38 ${bindir}/objcopy \
39 ${bindir}/objdump \
40 ${bindir}/ranlib \
41 ${bindir}/readelf \
42 ${bindir}/size \
43 ${bindir}/strings \
44 ${bindir}/strip"
45
46SRC_URI = "\
47 http://www.codesourcery.com/public/gnu_toolchain/arm-none-eabi/arm-2006q1-6-arm-none-eabi.src.tar.bz2 \
48 file://binutils-2.17-csl-tc-arm-mmxwc-polymorphism.patch;patch=1;pnum=1\
49 file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch;patch=1;pnum=1\
50 file://binutils-uclibc-100-uclibc-conf.patch;patch=1;pnum=1 \
51 file://binutils-uclibc-300-001_ld_makefile_patch.patch;patch=1;pnum=1 \
52 file://binutils-uclibc-300-006_better_file_error.patch;patch=1;pnum=1 \
53 file://binutils-uclibc-300-012_check_ldrunpath_length.patch;patch=1;pnum=1 \
54 file://binutils-uclibc-400-mips-ELF_MAXPAGESIZE-4K.patch;patch=1;pnum=1 \
55 file://binutils-uclibc-702-binutils-skip-comments.patch;patch=1;pnum=1 \
56 file://binutils-configure-texinfo-version.patch;patch=1"
57
58do_unpack2() {
59 cd ${WORKDIR}
60 pwd
61 tar -xvjf ./arm-2006q1-6-arm-none-eabi/binutils-2006q1-6.tar.bz2
62}
63
64addtask unpack2 after do_unpack before do_patch
65
66B = "${S}/build.${HOST_SYS}.${TARGET_SYS}"
67
68EXTRA_OECONF = "--program-prefix=${TARGET_PREFIX} \
69 --enable-shared"
70
71# This is necessary due to a bug in the binutils Makefiles
72EXTRA_OEMAKE = "configure-build-libiberty all"
73
74export AR = "${HOST_PREFIX}ar"
75export AS = "${HOST_PREFIX}as"
76export LD = "${HOST_PREFIX}ld"
77export NM = "${HOST_PREFIX}nm"
78export RANLIB = "${HOST_PREFIX}ranlib"
79export OBJCOPY = "${HOST_PREFIX}objcopy"
80export OBJDUMP = "${HOST_PREFIX}objdump"
81
82export AR_FOR_TARGET = "${TARGET_PREFIX}ar"
83export AS_FOR_TARGET = "${TARGET_PREFIX}as"
84export LD_FOR_TARGET = "${TARGET_PREFIX}ld"
85export NM_FOR_TARGET = "${TARGET_PREFIX}nm"
86export RANLIB_FOR_TARGET = "${TARGET_PREFIX}ranlib"
87
88export CC_FOR_HOST = "${CCACHE} ${HOST_PREFIX}gcc ${HOST_CC_ARCH}"
89export CXX_FOR_HOST = "${CCACHE} ${HOST_PREFIX}gcc ${HOST_CC_ARCH}"
90
91export CC_FOR_BUILD = "${BUILD_CC}"
92export CPP_FOR_BUILD = "${BUILD_CPP}"
93export CFLAGS_FOR_BUILD = "${BUILD_CFLAGS}"
94
95export CC = "${CCACHE} ${HOST_PREFIX}gcc ${HOST_CC_ARCH}"
96
97do_configure () {
98 (cd ${S}; gnu-configize) || die "Failed to run gnu-configize"
99 oe_runconf
100}
101
102do_install () {
103 autotools_do_install
104
105 # We don't really need these, so we'll remove them...
106 rm -rf ${D}${libdir}/ldscripts
107
108 # Fix the /usr/${TARGET_SYS}/bin/* links
109 for l in ${D}${prefix}/${TARGET_SYS}/bin/*; do
110 rm -f $l
111 ln -sf `echo ${prefix}/${TARGET_SYS}/bin \
112 | tr -s / \
113 | sed -e 's,^/,,' -e 's,[^/]*,..,g'`${bindir}/${TARGET_PREFIX}`basename $l` $l
114 done
115
116 # Install the libiberty header
117 install -d ${D}${includedir}
118 install -m 644 ${S}/include/ansidecl.h ${D}${includedir}
119 install -m 644 ${S}/include/libiberty.h ${D}${includedir}
120
121 cd ${D}${bindir}
122
123 # Symlinks for ease of running these on the native target
124 for p in ${TARGET_SYS}-* ; do
125 ln -sf $p `echo $p | sed -e s,${TARGET_SYS}-,,`
126 done
127}