aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/mamona/bash-noemu_3.2.bb
blob: 4269818bc17b005e03081764bfa43723beab5c9a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
require ../bash/bash.inc
PR = "r2"

RCONFLICTS_${PN} = "bash"
RREPLACES_${PN} = "bash"

SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz \
           file://001-005.patch \
           file://006-add_internal_libcpwd_functions.patch"

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
}

SRC_URI[md5sum] = "00bfa16d58e034e3c2aa27f390390d30"
SRC_URI[sha256sum] = "26c99025b59e30779300b68adb764f824974d267a4d7cc1b347d14a2393f9fb4"