summaryrefslogtreecommitdiff
path: root/packages/mamona/binutils-noemu_2.17.50.0.5.bb
diff options
context:
space:
mode:
authorRodrigo Vivi <rodrigo.vivi@gmail.com>2008-03-25 06:38:35 +0000
committerRodrigo Vivi <rodrigo.vivi@gmail.com>2008-03-25 06:38:35 +0000
commit61d5013c375af6bef726d928bece27cb4e2283ca (patch)
tree4862ba05b1f5d4b53057bd00b3a9e9075fe7425e /packages/mamona/binutils-noemu_2.17.50.0.5.bb
parentfe91665ba718f0dd632e26927f3804544eff1b99 (diff)
Adding noemu packages for Mamona.
Noemu packages are native packages made to install on a qemu environment as a target package avoiding some unecessary emulations. http://dev.openbossa.org/trac/mamona/wiki/noemu
Diffstat (limited to 'packages/mamona/binutils-noemu_2.17.50.0.5.bb')
-rw-r--r--packages/mamona/binutils-noemu_2.17.50.0.5.bb32
1 files changed, 32 insertions, 0 deletions
diff --git a/packages/mamona/binutils-noemu_2.17.50.0.5.bb b/packages/mamona/binutils-noemu_2.17.50.0.5.bb
new file mode 100644
index 0000000000..17a6749404
--- /dev/null
+++ b/packages/mamona/binutils-noemu_2.17.50.0.5.bb
@@ -0,0 +1,32 @@
+require binutils.inc
+
+PR = "r1"
+
+SRC_URI = \
+ "${KERNELORG_MIRROR}/pub/linux/devel/binutils/binutils-${PV}.tar.bz2 \
+ file://binutils-2.16.91.0.6-objcopy-rename-errorcode.patch;patch=1 \
+ file://binutils-uclibc-100-uclibc-conf.patch;patch=1 \
+ file://binutils-configure-texinfo-version.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 \
+ "
+
+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
+ make LDFLAGS=\"-all-static\"
+}
+
+do_stage() {
+ :
+}