diff options
author | Michael Lauer <mickey@vanille-media.de> | 2008-06-09 19:32:22 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2008-06-09 19:32:22 +0000 |
commit | 57cde526bf3db0e8572d09cae4ad80049e559d81 (patch) | |
tree | 8446dbd1be5fb9951fbf1ccc05ae70cd703007e2 | |
parent | 5073b4a0f58c1d703b8798ddadb881345dc2c8fd (diff) |
bash 3.2 change the way how mkbuiltin is compiled for host
-rw-r--r-- | packages/bash/bash.inc | 8 | ||||
-rw-r--r-- | packages/bash/bash_3.2.bb | 3 |
2 files changed, 9 insertions, 2 deletions
diff --git a/packages/bash/bash.inc b/packages/bash/bash.inc index b67e8bbe39..dd2a180bb1 100644 --- a/packages/bash/bash.inc +++ b/packages/bash/bash.inc @@ -12,13 +12,19 @@ bindir = "/bin" sbindir = "/sbin" EXTRA_OECONF = "--with-ncurses" -export CC_FOR_BUILD = "${BUILD_CC}" +export RM="echo" do_configure () { gnu-configize oe_runconf } +do_compile_prepend() { + cd builtins + ${BUILD_CC} ${BUILD_CFLAGS} ${BUILD_LDFLAGS} -I${S}/include -I${S} -o mkbuiltins mkbuiltins.c + cd ${S} +} + pkg_postinst () { touch $D${sysconfdir}/shells grep -q "bin/bash" $D${sysconfdir}/shells || echo /bin/bash >> $D${sysconfdir}/shells diff --git a/packages/bash/bash_3.2.bb b/packages/bash/bash_3.2.bb index 883df50194..dc3485514c 100644 --- a/packages/bash/bash_3.2.bb +++ b/packages/bash/bash_3.2.bb @@ -1,5 +1,6 @@ require bash.inc -PR = "r4" + +PR = "r5" SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz \ http://ftp.gnu.org/gnu/bash/bash-3.2-patches/bash32-001;patch=1;pnum=0 \ |