mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
- dont build lirc driver anymore (builded with kernel) - dont install lirc driver anymore (installed with kernel) - disable looking of alsa, portausio, svgalib - logging to syslog - cosmetics & cleanups
38 lines
800 B
Bash
Executable File
38 lines
800 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. config/options
|
|
|
|
$SCRIPTS/build toolchain
|
|
|
|
if [ "$DEBUG" = yes ]; then
|
|
DEBUG_CONFIG="--enable-debug"
|
|
else
|
|
DEBUG_CONFIG="--disable-debug"
|
|
fi
|
|
|
|
export ac_cv_path_LIBUSB_CONFIG=
|
|
export ac_cv_func_forkpty=no
|
|
export ac_cv_lib_util_forkpty=no
|
|
export MAKEFLAGS=-j1
|
|
|
|
cd $PKG_BUILD
|
|
|
|
sed -i -e 's/asoundlib.h/ALSA_DISABLED/g' configure*
|
|
sed -i -e 's/portaudio.h/PORTAUDIO_DISABLED/g' configure*
|
|
sed -i -e 's/vga.h/SVGALIB_DISABLED/g' configure*
|
|
|
|
./configure --host=$TARGET_NAME \
|
|
--build=$HOST_NAME \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--disable-shared \
|
|
--enable-sandboxed \
|
|
--without-x \
|
|
--with-driver=userspace \
|
|
--with-syslog=LOG_DAEMON \
|
|
$DEBUG_CONFIG
|
|
|
|
make
|
|
|
|
$MAKEINSTALL -C tools
|