|
|
|
@ -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 |
|
|
|
|
|
|
|
|
|