missing ncurses sources
[tomato.git] / release / src / router / libncurses / makemips
blob2173831b75f668608df0e12f3a54245b8280368f
1 #!/bin/sh
2 TOP=/raid1/tomato/tomato.git/release.ar.wp/src-rt/router
3 CONFIGURE="./configure"
4 CC=mipsel-linux-gcc
5 CXX=mipsel-linux-gcc
7 CC=$CC CXX=$CXX STRIP='mipsel-uclibc-strip' \
8 CFLAGS="-O2 -Wall -fno-delete-null-pointer-checks -funit-at-a-time \
9 --param large-function-growth=800 --param max-inline-insns-single=3000 \
10 -ffunction-sections -fdata-sections" \
11 LDFLAGS="-L$TOP/libstdc++/prebuilt" \
12 LIBS="-lstdc++" \
13 $CONFIGURE --host=mipsel-linux --build=x86_64-linux-gnu --target=mipsel-linux --prefix=/usr --with-shared --with-normal --disable-debug --without-ada --without-manpages --without-progs --without-tests --enable-termcap
15 make DESTDIR=$TOP/libncurses/staged install