mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
fix build of ncurses
This commit is contained in:
parent
96968308cf
commit
d97d717a75
@ -7,15 +7,13 @@ CWD=`pwd`
|
|||||||
setup_toolchain host
|
setup_toolchain host
|
||||||
|
|
||||||
cd $PKG_BUILD/ncurses-host
|
cd $PKG_BUILD/ncurses-host
|
||||||
./configure --host=$TARGET_NAME \
|
./configure
|
||||||
--build=$HOST_NAME \
|
|
||||||
--prefix=/usr \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--without-shared \
|
|
||||||
|
|
||||||
make -C include
|
make -C include
|
||||||
make -C progs tic
|
make -C progs tic
|
||||||
|
|
||||||
|
cp -PR progs/tic $ROOT/$TOOLCHAIN/bin
|
||||||
|
|
||||||
cd "$CWD"
|
cd "$CWD"
|
||||||
|
|
||||||
setup_toolchain target
|
setup_toolchain target
|
||||||
@ -35,11 +33,11 @@ cd $PKG_BUILD
|
|||||||
--without-cxx-binding \
|
--without-cxx-binding \
|
||||||
--without-ada \
|
--without-ada \
|
||||||
--without-progs \
|
--without-progs \
|
||||||
--without-shared \
|
--with-shared \
|
||||||
--without-normal \
|
--without-normal \
|
||||||
--without-debug \
|
--without-debug \
|
||||||
--without-profile \
|
--without-profile \
|
||||||
--without-termlib \
|
--with-termlib \
|
||||||
--without-dbmalloc \
|
--without-dbmalloc \
|
||||||
--without-dmalloc \
|
--without-dmalloc \
|
||||||
--without-gpm \
|
--without-gpm \
|
||||||
@ -71,10 +69,11 @@ cd $PKG_BUILD
|
|||||||
make -C include
|
make -C include
|
||||||
make -C ncurses
|
make -C ncurses
|
||||||
|
|
||||||
#$AR cru lib/libncurses.a obj_s/*.o
|
$AR cru lib/libncurses.a obj_s/*.o
|
||||||
|
|
||||||
$MAKEINSTALL -C include
|
$MAKEINSTALL -C include
|
||||||
$MAKEINSTALL -C ncurses
|
$MAKEINSTALL -C ncurses
|
||||||
|
|
||||||
cd $SYSROOT_PREFIX/usr/include/ncurses
|
cp $SYSROOT_PREFIX/usr/include/ncurses/curses.h \
|
||||||
cp curses.h term.h ../
|
$SYSROOT_PREFIX/usr/include/ncurses/term.h \
|
||||||
|
$SYSROOT_PREFIX/usr/include/
|
||||||
|
@ -3,7 +3,8 @@
|
|||||||
. config/options
|
. config/options
|
||||||
|
|
||||||
mkdir -p $INSTALL/usr/lib
|
mkdir -p $INSTALL/usr/lib
|
||||||
cp $PKG_BUILD/lib/libncurses.so* $INSTALL/usr/lib
|
cp -PR $PKG_BUILD/lib/libncurses.so* $INSTALL/usr/lib
|
||||||
|
cp -PR $PKG_BUILD/lib/libtinfo.so* $INSTALL/usr/lib
|
||||||
|
|
||||||
#mkdir -p $INSTALL/usr/share/terminfo/l
|
mkdir -p $INSTALL/usr/share/terminfo/l
|
||||||
#TERMINFO=$INSTALL/usr/share/terminfo LD_LIBRARY_PATH=`ls -d $PKG_BUILD/ncurses-host/lib`:$LD_LIBRARY_PATH $PKG_BUILD/ncurses-host/progs/tic -xe linux $PKG_BUILD/misc/terminfo.src
|
TERMINFO=$INSTALL/usr/share/terminfo $ROOT/$TOOLCHAIN/bin/tic -xe linux $PKG_BUILD/misc/terminfo.src
|
||||||
|
Loading…
x
Reference in New Issue
Block a user