From 1ca91e9a83de247297a8e953481699164ec977fa Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Sat, 26 Mar 2011 00:12:06 +0100 Subject: [PATCH] ncurses: moved tic_only() custmain to make conf file more readable --- base/ncurses/ncurses.conf | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/base/ncurses/ncurses.conf b/base/ncurses/ncurses.conf index 28e52b450..2bec017fa 100644 --- a/base/ncurses/ncurses.conf +++ b/base/ncurses/ncurses.conf @@ -36,24 +36,26 @@ var_append patchfiles " " "$localpatches" # on dietlibc we won't use NLS [ "$SDECFG_LIBC" != dietlibc ] || SDECFG_DISABLE_NLS=1 +# custmain for toolchain stage +tic_only() { + mkdir build-tic + cd build-tic + # build a standalone termlib and dependendencyless ticlib + ../configure --prefix=$root --without-debug --with-termlib \ + --with-ticlib --disable-tic-depends --with-shared + # build needed header files + make -C include + # build and install a tic which is linked against libtinfo + # and libtic only + make -C progs tic + cp -a lib/libtinfo.so* $root/lib + cp -a lib/libtic.so* $root/lib + cp -a progs/tic $root/bin +} + if atstage toolchain; then buildloops=1 - tic_only() { - mkdir build-tic - cd build-tic - # build a standalone termlib and dependendencyless ticlib - ../configure --prefix=$root --without-debug --with-termlib \ - --with-ticlib --disable-tic-depends --with-shared - # build needed header files - make -C include - # build and install a tic which is linked against libtinfo - # and libtic only - make -C progs tic - cp -a lib/libtinfo.so* $root/lib - cp -a lib/libtic.so* $root/lib - cp -a progs/tic $root/bin - } custmain='tic_only' else