Browse Source

ncurses: moved tic_only() custmain to make conf file more readable

stable/0.2
Christian Wiese 14 years ago
parent
commit
1ca91e9a83
  1. 12
      base/ncurses/ncurses.conf

12
base/ncurses/ncurses.conf

@ -36,10 +36,8 @@ var_append patchfiles " " "$localpatches"
# on dietlibc we won't use NLS # on dietlibc we won't use NLS
[ "$SDECFG_LIBC" != dietlibc ] || SDECFG_DISABLE_NLS=1 [ "$SDECFG_LIBC" != dietlibc ] || SDECFG_DISABLE_NLS=1
if atstage toolchain; then # custmain for toolchain stage
buildloops=1 tic_only() {
tic_only() {
mkdir build-tic mkdir build-tic
cd build-tic cd build-tic
# build a standalone termlib and dependendencyless ticlib # build a standalone termlib and dependendencyless ticlib
@ -53,7 +51,11 @@ if atstage toolchain; then
cp -a lib/libtinfo.so* $root/lib cp -a lib/libtinfo.so* $root/lib
cp -a lib/libtic.so* $root/lib cp -a lib/libtic.so* $root/lib
cp -a progs/tic $root/bin cp -a progs/tic $root/bin
} }
if atstage toolchain; then
buildloops=1
custmain='tic_only' custmain='tic_only'
else else

Loading…
Cancel
Save