Updated build rules.

This commit is contained in:
Jean-Paul Saman 2004-06-14 19:19:57 +00:00
parent a24d0fa838
commit 5128a376b0
2 changed files with 11 additions and 10 deletions

View File

@ -141,7 +141,7 @@ static int Create( vlc_object_t *p_this )
(u32) p_vout->p_sys->i_width,
(u32) p_vout->p_sys->i_height,
(u8) p_vout->p_sys->i_screen_depth,
b_double_buffered);
b_double_buffered );
p_vout->p_sys->b_double_buffered = (vlc_bool_t) b_double_buffered;
msg_Dbg( p_vout, "using screen index = %u, width = %u, height = %u, depth = %u, double buffered = %d",
p_vout->p_sys->u_current, /* Current screen. */

View File

@ -7,12 +7,12 @@ ROKU="${HOME}/src/roku-dev"
make distclean
./bootstrap
CC=mipsel-linux-gcc CXX=mipsel-linux-g++ AR=mipsel-linux-ar LD=mipsel-linux-ld RANLIB=mipsel-linux-ranlib STRIP=mipsel-linux-strip \
./configure --host=mipsel --enable-release --enable-static --enable-shared --enable-plugins \
./configure --host=mipsel --enable-debug --enable-static --enable-shared --enable-plugins --enable-mostly-builtin \
--prefix=${ROKU}/usr \
--disable-sdl \
--enable-mad \
--disable-libmpeg2 --with-libmpeg2-tree=${SRC}/mpeg2dec-0.4.0 \
--disable-dvbpsi --with-dvbpsi-tree=${SRC}/libdvbpsi3-0.1.4 \
--enable-libmpeg2 --with-libmpeg2-tree=${SRC}/mpeg2dec-0.4.0 \
--disable-dvbpsi \
--disable-vcd --disable-vcdx --disable-cdda --disable-cddax --disable-libcdio --disable-libcddb \
--disable-dvd --disable-dvdread --disable-dvdnav --disable-dvdplay \
--disable-dshow --disable-directx --disable-wingdi --disable-waveout \
@ -26,6 +26,7 @@ CC=mipsel-linux-gcc CXX=mipsel-linux-g++ AR=mipsel-linux-ar LD=mipsel-linux-ld R
--disable-aa --disable-caca \
--disable-qte --disable-qt_video \
--disable-livedotcom \
--disable-corba \
--disable-v4l \
--disable-pvr \
--disable-satellite --disable-dvb \
@ -49,12 +50,12 @@ CC=mipsel-linux-gcc CXX=mipsel-linux-g++ AR=mipsel-linux-ar LD=mipsel-linux-ld R
--disable-skins --disable-skins2 \
--disable-fribidi --disable-freetype \
--disable-sout \
--enable-oss --disable-alsa \
--disable-oss --disable-alsa --disable-fb \
--disable-visual --disable-goom \
--enable-hd1000a --disable-hd1000v \
CFLAGS="-I${ROKU}/usr/include -I${ROKU}/usr/local/include/roku" \
CXXFLAGS="-I/usr/tools/roku/include" \
CPPFLAGS="-I${ROKU}/usr/local/include" \
CFLAGS="-I/usr/tools/roku/include -I${ROKU}/usr/include -I${ROKU}/usr/local/include -I${ROKU}/usr/local/include/roku" \
CXXFLAGS="${CFLAGS}" \
CPPFLAGS="${CFLAGS}" \
LDFLAGS="-L/usr/tools/roku/mipsel-linux/lib -L${ROKU}/lib -L${ROKU}/usr/local/lib -Wl,-rpath-link -Wl,${ROKU}/usr/local/lib" && \
make &&
${STRIP} -s vlc
make
# ${STRIP} -s --strip-unneeded vlc