##// END OF EJS Templates
fixed typo
fixed typo

Fichier de la dernière révision:

r82:d0f91512d9ca
r90:a4e6c4101f27
Show More
42-fbturbo.sh
34 lines | 1.3 KiB | application/x-sh | BashLexer
#
# Build and Setup fbturbo Xorg driver
#
# Load utility functions
. ./functions.sh
if [ "$ENABLE_FBTURBO" = true ] ; then
# Fetch fbturbo driver sources
git -C "${R}/tmp" clone https://github.com/ssvb/xf86-video-fbturbo.git
# Install Xorg build dependencies
chroot_exec apt-get -q -y --no-install-recommends install xorg-dev xutils-dev x11proto-dri2-dev libltdl-dev libtool automake libdrm-dev
# Build and install fbturbo driver inside chroot
chroot_exec /bin/bash -x <<'EOF'
cd /tmp/xf86-video-fbturbo
autoreconf -vi
./configure --prefix=/usr
make
make install
EOF
# Install fbturbo driver Xorg configuration
install_readonly files/xorg/99-fbturbo.conf "${R}/usr/share/X11/xorg.conf.d/99-fbturbo.conf"
# Remove Xorg build dependencies
chroot_exec apt-get -qq -y --auto-remove purge xorg-dev xutils-dev x11proto-dri2-dev libltdl-dev libtool automake libdrm-dev
fi
# Remove gcc/c++ build environment from the chroot
if [ "$ENABLE_UBOOT" = true ] || [ "$ENABLE_FBTURBO" = true ] ; then
chroot_exec apt-get -qq -y --auto-remove purge bc binutils cpp cpp-4.8 cpp-4.9 g++ g++-4.8 g++-4.9 gcc gcc-4.8 gcc-4.9 libasan1 libatomic1 libc-dev-bin libc6-dev libcloog-isl4 libgcc-4.8-dev libgcc-4.9-dev libgomp1 libisl10 libmpc3 libmpfr4 libstdc++-4.9-dev libubsan0 linux-compiler-gcc-4.8-arm linux-libc-dev make
fi