mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
49 lines
1.1 KiB
Bash
Executable File
49 lines
1.1 KiB
Bash
Executable File
#!/bin/sh
|
|
|
|
. config/options
|
|
|
|
$SCRIPTS/build toolchain
|
|
$SCRIPTS/build alsa-lib
|
|
$SCRIPTS/build dbus
|
|
$SCRIPTS/build glib
|
|
$SCRIPTS/build gettext-dummy
|
|
|
|
cd $PKG_BUILD
|
|
|
|
if [ $DEBUG = yes ]; then
|
|
DEBUG_CONFIG="--enable-debug"
|
|
else
|
|
DEBUG_CONFIG="--disable-debug"
|
|
fi
|
|
if [ $DEVTOOLS = yes ]; then
|
|
DEVTOOLS_CONFIG="--enable-bccmd --enable-test"
|
|
else
|
|
DEVTOOLS_CONFIG="--disable-bccmd --disable-test"
|
|
fi
|
|
|
|
./configure --host=$TARGET_NAME \
|
|
--build=$HOST_NAME \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--libexecdir=/usr/lib \
|
|
--localstatedir=/var \
|
|
--disable-dependency-tracking \
|
|
--enable-shared \
|
|
--disable-static \
|
|
--disable-network \
|
|
--disable-serial \
|
|
--disable-input \
|
|
--disable-audio \
|
|
--disable-service \
|
|
--disable-gstreamer \
|
|
--enable-alsa \
|
|
--disable-usb \
|
|
--disable-netlink \
|
|
--enable-tools \
|
|
--disable-hidd \
|
|
--disable-pand \
|
|
--disable-dund \
|
|
$DEBUG_CONFIG \
|
|
$DEVTOOLS_CONFIG
|
|
make
|