summaryrefslogtreecommitdiff
path: root/packages/mamona/bash-noemu_3.2.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/bash-noemu_3.2.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/bash-noemu_3.2.bb')
-rw-r--r--packages/mamona/bash-noemu_3.2.bb29
1 files changed, 29 insertions, 0 deletions
diff --git a/packages/mamona/bash-noemu_3.2.bb b/packages/mamona/bash-noemu_3.2.bb
new file mode 100644
index 0000000000..090b7086e2
--- /dev/null
+++ b/packages/mamona/bash-noemu_3.2.bb
@@ -0,0 +1,29 @@
+require bash.inc
+PR = "r1"
+
+SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz \
+ file://001-005.patch;patch=1"
+
+S = "${WORKDIR}/bash-${PV}"
+
+EXTRA_OECONF += "--enable-static-link --without-bash-malloc"
+
+#HOST_SYS = "${BUILD_SYS}"
+#CONFIG_SITE = ""
+
+do_configure () {
+ export CPP="gcc -E"
+ export CC=gcc
+ export AS=as
+ export LD=ld
+ export CXX=g++
+ export AR=ar
+ export OBJCOPY=objcopy
+ export OBJDUMP=objdump
+ export RANLIB=ranlib
+ export NM=nm
+ export STRIP=strip
+ export CFLAGS="-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os"
+ export CXXFLAGS="-fexpensive-optimizations -fomit-frame-pointer -frename-registers -Os -fpermissive -fvisibility-inlines-hidden"
+ oe_runconf
+}