mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +02:00
debug configure script
This commit is contained in:
31
cross-configure.cool.debug
Executable file
31
cross-configure.cool.debug
Executable file
@@ -0,0 +1,31 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
PREFIX=/opt/newcross/arm-cx2450x-linux-gnueabi/arm-cx2450x-linux-gnueabi/sys-root/usr
|
||||||
|
CCPATH=
|
||||||
|
HOST=arm-cx2450x-linux-gnueabi
|
||||||
|
|
||||||
|
export PKG_CONFIG_PATH=${PREFIX}/lib/pkgconfig
|
||||||
|
export CC=$CCPATH$HOST-gcc
|
||||||
|
export AR=$CCPATH$HOST-ar
|
||||||
|
export NM=$CCPATH$HOST-nm
|
||||||
|
export RANLIB=$CCPATH$HOST-ranlib
|
||||||
|
export OBJDUMP=$CCPATH$HOST-objdump
|
||||||
|
export STRIP=$CCPATH$HOST-strip
|
||||||
|
|
||||||
|
export CFLAGS=" -Wall -Wextra -Wshadow -Werror -g -ggdb3 \
|
||||||
|
-D__KERNEL_STRICT_NAMES -DUSE_NEVIS_GXA \
|
||||||
|
-I"$PWD"/include -I"$PWD"/include/linux/dvb -I"$PREFIX"/include/freetype2"
|
||||||
|
|
||||||
|
export CXXFLAGS=" -Wall -Wextra -Wshadow -Werror -g -ggdb3 \
|
||||||
|
-D__KERNEL_STRICT_NAMES -DUSE_NEVIS_GXA \
|
||||||
|
-I"$PWD"/include -I"$PWD"/include/linux/dvb -I"$PREFIX"/include/freetype2"
|
||||||
|
|
||||||
|
export LDFLAGS="-L"$PREFIX"/lib -lcurl -lssl -lcrypto -ldl"
|
||||||
|
|
||||||
|
export DVB_API_VERSION=3
|
||||||
|
export FREETYPE_CONFIG=$PREFIX/bin/freetype-config
|
||||||
|
export CURL_CONFIG=$PREFIX/bin/curl-config
|
||||||
|
|
||||||
|
./autogen.sh
|
||||||
|
./configure --prefix=${PREFIX} --build=i386-pc-linux-gnu --host=$HOST --without-driver --with-target=cdk --with-targetprefix="" "$*"
|
||||||
|
|
Reference in New Issue
Block a user