summaryrefslogtreecommitdiff
path: root/recipes/mamona/bash-noemu_3.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/mamona/bash-noemu_3.2.bb')
-rw-r--r--recipes/mamona/bash-noemu_3.2.bb33
1 files changed, 33 insertions, 0 deletions
diff --git a/recipes/mamona/bash-noemu_3.2.bb b/recipes/mamona/bash-noemu_3.2.bb
new file mode 100644
index 0000000000..4d46d6fd79
--- /dev/null
+++ b/recipes/mamona/bash-noemu_3.2.bb
@@ -0,0 +1,33 @@
+require ../bash/bash.inc
+PR = "r1"
+
+RCONFLICTS = "bash"
+RREPLACES = "bash"
+
+SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz \
+ file://001-005.patch;patch=1 \
+ file://006-add_internal_libcpwd_functions.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
+}