2 TOP
=/raid
1/tomato
/tomato.git
/release.
ar.wp
/src-rt
/router
3 CONFIGURE
="./configure"
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" \
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