Commit 9cf858cb authored by Sami Nurmenniemi's avatar Sami Nurmenniemi

Configure passes now

parent 25f40b99
......@@ -18,6 +18,12 @@ RUN apt-get upgrade -y
RUN apt-get install -y \
crossbuild-essential-armhf \
libxcb-xinerama0-dev:armhf \
libicu-dev:armhf \
libx11-xcb-dev:armhf \
libglu1-mesa-dev:armhf \
libxrender-dev:armhf \
libxi-dev:armhf \
libjpeg-dev:armhf \
binutils \
gcc \
g++ \
......@@ -31,9 +37,20 @@ RUN apt-get install -y \
texinfo \
xz-utils \
bzip2 \
bison
bison \
pkg-config
RUN apt-get install -y libasound2-dev:armhf libgstreamer1.0-dev:armhf libgstreamer-plugins-base1.0-dev:armhf
RUN apt-get install -y libpng16-dev:armhf libharfbuzz-dev:armhf libssl-dev:armhf
RUN apt-get install -y libdbus-1-dev:armhf
RUN apt-get install -y libegl1-mesa-dev:armhf libgles2-mesa-dev:armhf
RUN apt-get install -y libmysqlclient-dev:armhf
RUN apt-get install -y libsqlite3-dev:armhf freetds-dev:armhf
RUN apt-get install -y libpq-dev:armhf
RUN apt-get clean
#RUN apt-get build-dep -a armhf qt5-default -y
# Default user
RUN useradd -u $USERID builder
......
......@@ -17,9 +17,18 @@ then
elif [ "$1" = "build" ]
then
DOCKER_CMD=../build_artik_qt5.sh
elif [ "$1" = "debug" ]
then
docker run -it -v $PWD/../build:/home/builder/build artik_qt_builder /bin/bash
exit 0
elif [ "$1" = "debugroot" ]
then
docker run -it --user root -v $PWD/../build:/home/builder/build artik_qt_builder /bin/bash
exit 0
else
print_usage
exit -1
fi
docker run -v $PWD/build:/home/builder/build artik_qt_builder $DOCKER_CMD
docker run -v $PWD/../build:/home/builder/build artik_qt_builder $DOCKER_CMD
#!/bin/sh
echo "Configure world!"
INSTALLDIR=$PWD/qt5_install
TARGETDIR=/qt5
echo "Configure qt5 for Artik 530"
mkdir -p qt5-build
cd qt5-build
MAKEFLAGS="-j4" ../qt5/configure -confirm-license \
-hostprefix "$INSTALLDIR" \
-extprefix "$TARGETDIR" \
-sysroot "/" \
-device linux-arm-generic-g++ \
-device-option CROSS_COMPILE=arm-linux-gnueabihf- \
-device-option DISTRO_OPTS=hard-float \
-opensource \
-pkg-config \
-plugin-sql-mysql \
-plugin-sql-psql \
-plugin-sql-sqlite \
-no-sql-sqlite2 \
-plugin-sql-tds \
-system-sqlite \
-platform linux-g++ \
-system-zlib \
-system-libpng \
-system-libjpeg \
-openssl \
-no-rpath \
-verbose \
-optimized-qmake \
-dbus-runtime \
-no-strip \
-no-separate-debug-info \
-qpa xcb \
-xcb \
-glib \
-icu \
-accessibility \
-compile-examples \
-no-directfb \
-gstreamer 1.0 \
-no-sql-ibase -opengl es2
......@@ -17,7 +17,7 @@ deb-src http://archive.ubuntu.com/ubuntu/ xenial-updates main universe restricte
## review or updates from the Ubuntu security team.
deb [arch=amd64,i386] http://archive.ubuntu.com/ubuntu/ xenial universe
deb [arch=armhf] http://ports.ubuntu.com/ xenial universe
deb-src http://archive.ubuntu.com/ubuntu/ xenial universe
#deb-src http://archive.ubuntu.com/ubuntu/ xenial universe
#deb-src http://ports.ubuntu.com/ xenial universe
deb [arch=amd64,i386] http://archive.ubuntu.com/ubuntu/ xenial-updates universe
deb [arch=armhf] http://ports.ubuntu.com/ xenial-updates universe
......@@ -35,7 +35,7 @@ deb [arch=armhf] http://ports.ubuntu.com/ xenial multiverse
#deb-src http://ports.ubuntu.com/ xenial multiverse
deb [arch=amd64,i386] http://archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb [arch=armhf] http://ports.ubuntu.com/ xenial-updates multiverse
deb-src http://archive.ubuntu.com/ubuntu/ xenial-updates multiverse
#deb-src http://archive.ubuntu.com/ubuntu/ xenial-updates multiverse
#deb-src http://ports.ubuntu.com/ xenial-updates multiverse
## N.B. software from this repository may not have been tested as
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment