summaryrefslogtreecommitdiff
path: root/packages/mamona/binutils-noemu_2.18.bb
diff options
context:
space:
mode:
authorAloisio Almeida Jr <aloisio.almeida@openbosssa.org>2008-07-24 18:41:55 -0300
committerRodrigo Vivi <rodrigo.vivi@openbossa.org>2008-10-23 17:54:21 -0300
commit4d357ddf84358899f919d4b98a37f1e7ca2d16ca (patch)
treef76e8d013b1f9b640a4757b162c55cba363510d8 /packages/mamona/binutils-noemu_2.18.bb
parent4d1f4a9f81c77025bdf0cf8c3ccef9b0f3eeefed (diff)
binutils-noemu: Adding 2.18 version
Diffstat (limited to 'packages/mamona/binutils-noemu_2.18.bb')
-rw-r--r--packages/mamona/binutils-noemu_2.18.bb38
1 files changed, 38 insertions, 0 deletions
diff --git a/packages/mamona/binutils-noemu_2.18.bb b/packages/mamona/binutils-noemu_2.18.bb
new file mode 100644
index 0000000000..44dfe6c8d5
--- /dev/null
+++ b/packages/mamona/binutils-noemu_2.18.bb
@@ -0,0 +1,38 @@
+PR = "r0"
+
+require ../binutils/binutils.inc
+
+RCONFLICTS = "binutils"
+RREPLACES = "binutils"
+
+SRC_URI = "\
+ ${GNU_MIRROR}/binutils/binutils-${PV}.tar.bz2 \
+ file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch;patch=1 \
+ file://binutils-configure-texinfo-version.patch;patch=1 \
+ file://binutils-uclibc-100-uclibc-conf.patch;patch=1 \
+ file://110-arm-eabi-conf.patch;patch=1 \
+ file://binutils-uclibc-300-001_ld_makefile_patch.patch;patch=1 \
+ file://binutils-uclibc-300-006_better_file_error.patch;patch=1 \
+ file://binutils-uclibc-300-012_check_ldrunpath_length.patch;patch=1 \
+ "
+
+# powerpc patches
+SRC_URI += "file://binutils-2.16.1-e300c2c3.patch;patch=1"
+
+EXTRA_OECONF = "--with-sysroot=${CROSS_DIR}/${TARGET_SYS} \
+ --program-prefix=${TARGET_PREFIX} --disable-shared"
+
+HOST_SYS = "${BUILD_SYS}"
+
+do_configure () {
+ CC=gcc AS=as LD=ld CXX=g++ AR=ar OBJCOPY=objcopy OBJDUMP=objdump RANLIB=ranlib NM=nm STRIP=strip oe_runconf
+}
+
+do_compile() {
+ make configure-host LDFLAGS=\"\"
+ make LDFLAGS=\"-all-static\"
+}
+
+do_stage() {
+ :
+}