Changeset 606dd6c7c6bc57814ff55ba18405ddd331dbf022
- Timestamp:
- 14/05/07 17:19:44
(2 years ago)
- Author:
- Jean-Paul Saman <jpsaman@videolan.org>
- git-committer:
- Jean-Paul Saman <jpsaman@videolan.org> 1179155984 +0000
- git-parent:
[0b93ad3cec4ae11ddff544dfc7380136adbabceb]
- git-author:
- Jean-Paul Saman <jpsaman@videolan.org> 1179155984 +0000
- Message:
Add define HAVE_BIGENDIAN to bootstrap and config.mak when compiler is armeb-linux-uclibc. Also add armeb-uclibc support to live555 buildsystem.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r1f1fe98 |
r606dd6c |
|
| 181 | 181 | armeb-linux-uclibc) |
|---|
| 182 | 182 | echo "HAVE_UCLIBC = 1" >> config.mak |
|---|
| | 183 | echo "HAVE_BIGENDIAN = 1" >> config.mak |
|---|
| 183 | 184 | if test ! -z "${DISTRO}"; then |
|---|
| 184 | 185 | cat src/Distributions/${DISTRO}.mak >> distro.mak |
|---|
| rb112b60 |
r606dd6c |
|
| 125 | 125 | |
|---|
| 126 | 126 | ifdef HAVE_UCLIBC |
|---|
| 127 | | 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 |
|---|
| | 127 | ifdef HAVE_BIGENDIAN |
|---|
| | 128 | FFMPEGCONF+= --arch=armeb |
|---|
| | 129 | else |
|---|
| | 130 | FFMPEGCONF+= --arch=armv4l |
|---|
| | 131 | endif |
|---|
| | 132 | 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 |
|---|
| 128 | 133 | FFMPEG_CFLAGS += -DHAVE_LRINTF --std=c99 |
|---|
| 129 | 134 | else |
|---|
| … | … | |
| 1099 | 1104 | patch -p0 < Patches/live-starttime.patch |
|---|
| 1100 | 1105 | patch -p0 < Patches/live-config.patch |
|---|
| | 1106 | ifdef HAVE_UCLIBC |
|---|
| | 1107 | patch -p0 < Patches/live-noapps.patch |
|---|
| | 1108 | endif |
|---|
| 1101 | 1109 | |
|---|
| 1102 | 1110 | .live: live |
|---|
| … | … | |
| 1112 | 1120 | else |
|---|
| 1113 | 1121 | (cd $<; sed -e 's/=/= EXTRA_CPPFLAGS/' -e 's%EXTRA_CPPFLAGS%-I/include%' -i.orig groupsock/Makefile.head) |
|---|
| | 1122 | ifdef HAVE_UCLIBC |
|---|
| | 1123 | ifdef HAVE_BIGENDIAN |
|---|
| | 1124 | (cd $<; ./genMakefiles armeb-uclibc && make $(HOSTCC)) |
|---|
| | 1125 | endif |
|---|
| | 1126 | else |
|---|
| 1114 | 1127 | (cd $<; ./genMakefiles linux && make $(HOSTCC)) |
|---|
| | 1128 | endif |
|---|
| 1115 | 1129 | endif |
|---|
| 1116 | 1130 | endif |
|---|
| r308924a |
r606dd6c |
|
| 90 | 90 | C_COMPILER = $(CROSS_COMPILE)gcc |
|---|
| 91 | 91 | C_FLAGS = $(COMPILE_OPTS) |
|---|
| | 92 | --- /dev/null 2007-05-14 09:00:32.045340388 +0200 |
|---|
| | 93 | +++ live/config.armeb-uclibc 2007-05-14 16:55:22.000000000 +0200 |
|---|
| | 94 | @@ -0,0 +1,18 @@ |
|---|
| | 95 | +CROSS_COMPILE= armeb-linux-uclibc- |
|---|
| | 96 | +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 |
|---|
| | 97 | +C = c |
|---|
| | 98 | +C_COMPILER = $(CROSS_COMPILE)gcc |
|---|
| | 99 | +C_FLAGS = $(COMPILE_OPTS) |
|---|
| | 100 | +CPP = cpp |
|---|
| | 101 | +CPLUSPLUS_COMPILER = $(CROSS_COMPILE)g++ |
|---|
| | 102 | +CPLUSPLUS_FLAGS = $(COMPILE_OPTS) -Wall -DBSD=1 |
|---|
| | 103 | +OBJ = o |
|---|
| | 104 | +LINK = $(CROSS_COMPILE)gcc -o |
|---|
| | 105 | +LINK_OPTS = -L. |
|---|
| | 106 | +CONSOLE_LINK_OPTS = $(LINK_OPTS) |
|---|
| | 107 | +LIBRARY_LINK = $(CROSS_COMPILE)ld -o |
|---|
| | 108 | +LIBRARY_LINK_OPTS = $(LINK_OPTS) -r -Bstatic |
|---|
| | 109 | +LIB_SUFFIX = a |
|---|
| | 110 | +LIBS_FOR_CONSOLE_APPLICATION = |
|---|
| | 111 | +LIBS_FOR_GUI_APPLICATION = |
|---|
| | 112 | +EXE = |
|---|