Author: mwise
Date: Tue Apr 14 10:30:14 2009
New Revision: 5301
URL: http://svn.slimdevices.com/jive?rev=5301&view=rev
Log:
Modify the configure lines to include support for cross compiling against a
--host.
Modified:
7.4/trunk/squeezeplay/src/Makefile.linux
Modified: 7.4/trunk/squeezeplay/src/Makefile.linux
URL:
http://svn.slimdevices.com/jive/7.4/trunk/squeezeplay/src/Makefile.linux?rev=5301&r1=5300&r2=5301&view=diff
==============================================================================
--- 7.4/trunk/squeezeplay/src/Makefile.linux (original)
+++ 7.4/trunk/squeezeplay/src/Makefile.linux Tue Apr 14 10:30:14 2009
@@ -62,28 +62,28 @@
# sdl
SDL-1.2.13/Makefile:
- cd SDL-1.2.13; ./configure ${ENABLE_PROFILING} --prefix=${PREFIX}
+ cd SDL-1.2.13; ./configure ${ENABLE_PROFILING} --host=${TARGET}
--target=${TARGET} --prefix=${PREFIX}
sdl: SDL-1.2.13/Makefile
cd SDL-1.2.13; make && make install
# sdl_image (requires jpeg tiff png)
SDL_image-1.2.5/Makefile:
- cd SDL_image-1.2.5; SDL_CONFIG=${PREFIX}/bin/sdl-config ./configure
--disable-tif ${ENABLE_PROFILING} --prefix=${PREFIX}
+ cd SDL_image-1.2.5; SDL_CONFIG=${PREFIX}/bin/sdl-config ./configure
--disable-tif --host=${TARGET} --target=${TARGET} ${ENABLE_PROFILING}
--prefix=${PREFIX}
sdl-image: SDL_image-1.2.5/Makefile
cd SDL_image-1.2.5; make && make install
# sdl_ttf
SDL_ttf-2.0.8/Makefile:
- cd SDL_ttf-2.0.8; SDL_CONFIG=${PREFIX}/bin/sdl-config ./configure
${ENABLE_PROFILING} --prefix=${PREFIX} --with-freetype-prefix=${PREFIX}
--without-opengl
+ cd SDL_ttf-2.0.8; SDL_CONFIG=${PREFIX}/bin/sdl-config ./configure
${ENABLE_PROFILING} --host=${TARGET} --target=${TARGET} --prefix=${PREFIX}
--with-freetype-prefix=${PREFIX} --without-opengl
sdl-ttf: SDL_ttf-2.0.8/Makefile
cd SDL_ttf-2.0.8; make && make install
# sdl_gfx
SDL_gfx-2.0.15/Makefile:
- cd SDL_gfx-2.0.15; ./configure ${ENABLE_PROFILING} ${USE_MMX}
--prefix=${PREFIX}
+ cd SDL_gfx-2.0.15; ./configure ${ENABLE_PROFILING} ${USE_MMX}
--host=${TARGET} --target=${TARGET} --prefix=${PREFIX}
sdl-gfx: SDL_gfx-2.0.15/Makefile
cd SDL_gfx-2.0.15; make && make install
@@ -109,13 +109,13 @@
cd slnunicode-1.1; make install INSTALL_TOP=${PREFIX} TARGET=$(TARGET)
PLATFORM=linux
luajson/Makefile:
- cd luajson; ./configure --prefix=${PREFIX}
+ cd luajson; ./configure --host=${TARGET} --target=${TARGET}
--prefix=${PREFIX}
luajson: luajson/Makefile
cd luajson; make && cp .libs/json.so ${PREFIX}/lib/lua/5.1/json.so
luazipfilter/Makefile:
- cd luazipfilter; ./configure --prefix=${PREFIX}
+ cd luazipfilter; ./configure --host=${TARGET} --target=${TARGET}
--prefix=${PREFIX}
luazipfilter: luazipfilter/Makefile
cd luazipfilter; make && cp .libs/zipfilter.so
${PREFIX}/lib/lua/5.1/zipfilter.so
@@ -166,28 +166,28 @@
# portaudio
portaudio_v19_1360/Makefile:
- cd portaudio_v19_1360; ./configure --prefix=${PREFIX}
+ cd portaudio_v19_1360; ./configure --host=${TARGET} --target=${TARGET}
--prefix=${PREFIX}
portaudio: portaudio_v19_1360/Makefile
cd portaudio_v19_1360; make && make install
# flac
flac-1.2.1/Makefile:
- cd flac-1.2.1; ./configure --disable-ogg --disable-xmms-plugin
--prefix=${PREFIX}
+ cd flac-1.2.1; ./configure --disable-ogg --disable-xmms-plugin
--host=${TARGET} --target=${TARGET} --prefix=${PREFIX}
flac: flac-1.2.1/Makefile
cd flac-1.2.1; make && make install
# libmad
libmad-0.15.1b/Makefile:
- cd libmad-0.15.1b; ./configure --prefix=${PREFIX}
+ cd libmad-0.15.1b; ./configure --host=${TARGET} --target=${TARGET}
--prefix=${PREFIX}
libmad: libmad-0.15.1b/Makefile
cd libmad-0.15.1b; make && make install
# ogg
Tremor/Makefile:
- cd Tremor; ./configure --prefix=${PREFIX}
+ cd Tremor; ./configure --host=${TARGET} --target=${TARGET}
--prefix=${PREFIX}
tremor: Tremor/Makefile
cd Tremor; make && make install
@@ -208,13 +208,13 @@
# squeezeplay
squeezeplay/Makefile:
- cd squeezeplay; SDL_CONFIG=${SDL_CONFIG} ./configure
${ENABLE_SPPRIVATE} ${ENABLE_PROFILING} --prefix=${PREFIX}
+ cd squeezeplay; SDL_CONFIG=${SDL_CONFIG} ./configure
${ENABLE_SPPRIVATE} ${ENABLE_PROFILING} --host=${TARGET} --target=${TARGET}
--prefix=${PREFIX}
squeezeplay: squeezeplay/Makefile
cd squeezeplay; make && make install
squeezeplay_desktop/Makefile:
- cd squeezeplay_desktop; SDL_CONFIG=${SDL_CONFIG} ./configure
--prefix=${PREFIX}
+ cd squeezeplay_desktop; SDL_CONFIG=${SDL_CONFIG} ./configure
--host=${TARGET} --target=${TARGET} --prefix=${PREFIX}
squeezeplay_desktop: squeezeplay_desktop/Makefile
cd squeezeplay_desktop; make install
@@ -225,7 +225,7 @@
cd squeezeplay_contrib; make PREFIX=${PREFIX}
squeezeplay_private/Makefile:
- cd squeezeplay_private; SDL_CONFIG=${SDL_CONFIG} ./configure
--prefix=${PREFIX}
+ cd squeezeplay_private; SDL_CONFIG=${SDL_CONFIG} ./configure
--host=${TARGET} --target=${TARGET} --prefix=${PREFIX}
squeezeplay_private: squeezeplay_private/Makefile
cd squeezeplay_private; make PREFIX=${PREFIX} install
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins