;;
armeb-linux-uclibc)
echo "HAVE_UCLIBC = 1" >> config.mak
+ echo "HAVE_BIGENDIAN = 1" >> config.mak
if test ! -z "${DISTRO}"; then
cat src/Distributions/${DISTRO}.mak >> distro.mak
else
endif
ifdef HAVE_UCLIBC
-FFMPEGCONF+= --enable-small --arch=armeb --disable-debug --disable-encoders --disable-muxers --disable-demuxer=mpegts --disable-v4l --disable-v4l2 --disable-bktr --disable-dv1394 --disable-mpegaudio-hp --disable-decoder=snow --disable-decoder=vc9 --disable-decoder=wmv3 --disable-decoder=vorbis --disable-decoder=dvdsub --disable-decoder=dvbsub --disable-protocols --disable-encoders
+ifdef HAVE_BIGENDIAN
+FFMPEGCONF+= --arch=armeb
+else
+FFMPEGCONF+= --arch=armv4l
+endif
+FFMPEGCONF+= --enable-small --disable-debug --disable-encoders --disable-muxers --disable-demuxer=mpegts --disable-v4l --disable-v4l2 --disable-bktr --disable-dv1394 --disable-mpegaudio-hp --disable-decoder=snow --disable-decoder=vc9 --disable-decoder=wmv3 --disable-decoder=vorbis --disable-decoder=dvdsub --disable-decoder=dvbsub --disable-protocols --disable-encoders
FFMPEG_CFLAGS += -DHAVE_LRINTF --std=c99
else
FFMPEGCONF+= --enable-libmp3lame --enable-libfaac --enable-liba52
endif
patch -p0 < Patches/live-starttime.patch
patch -p0 < Patches/live-config.patch
+ifdef HAVE_UCLIBC
+ patch -p0 < Patches/live-noapps.patch
+endif
.live: live
ifdef HAVE_WIN32
(cd $<; ./genMakefiles macosx && make)
else
(cd $<; sed -e 's/=/= EXTRA_CPPFLAGS/' -e 's%EXTRA_CPPFLAGS%-I/include%' -i.orig groupsock/Makefile.head)
+ifdef HAVE_UCLIBC
+ifdef HAVE_BIGENDIAN
+ (cd $<; ./genMakefiles armeb-uclibc && make $(HOSTCC))
+endif
+else
(cd $<; ./genMakefiles linux && make $(HOSTCC))
endif
endif
+endif
endif
touch $@
C = c\r
C_COMPILER = $(CROSS_COMPILE)gcc\r
C_FLAGS = $(COMPILE_OPTS)\r
+--- /dev/null 2007-05-14 09:00:32.045340388 +0200
++++ live/config.armeb-uclibc 2007-05-14 16:55:22.000000000 +0200
+@@ -0,0 +1,18 @@
++CROSS_COMPILE= armeb-linux-uclibc-\r
++COMPILE_OPTS = $(INCLUDES) -I. -Os -DSOCKLEN_T=socklen_t -DNO_STRSTREAM=1 -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -DUSE_SYSTEM_RANDOM=1\r
++C = c\r
++C_COMPILER = $(CROSS_COMPILE)gcc\r
++C_FLAGS = $(COMPILE_OPTS)\r
++CPP = cpp\r
++CPLUSPLUS_COMPILER = $(CROSS_COMPILE)g++\r
++CPLUSPLUS_FLAGS = $(COMPILE_OPTS) -Wall -DBSD=1\r
++OBJ = o\r
++LINK = $(CROSS_COMPILE)gcc -o\r
++LINK_OPTS = -L.\r
++CONSOLE_LINK_OPTS = $(LINK_OPTS)\r
++LIBRARY_LINK = $(CROSS_COMPILE)ld -o\r
++LIBRARY_LINK_OPTS = $(LINK_OPTS) -r -Bstatic\r
++LIB_SUFFIX = a\r
++LIBS_FOR_CONSOLE_APPLICATION =\r
++LIBS_FOR_GUI_APPLICATION =\r
++EXE =\r
--- /dev/null
+--- live/Makefile.tail.orig 2007-05-14 17:15:25.000000000 +0200
++++ live/Makefile.tail 2007-05-14 17:16:17.000000000 +0200
+@@ -18,9 +18,7 @@
+ ALL = $(LIVEMEDIA_LIB) \
+ $(GROUPSOCK_LIB) \
+ $(USAGE_ENVIRONMENT_LIB) \
+- $(BASIC_USAGE_ENVIRONMENT_LIB) \
+- $(TESTPROGS_APP) \
+- $(MEDIA_SERVER_APP)
++ $(BASIC_USAGE_ENVIRONMENT_LIB)
+ all: $(ALL)
+
+