mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
37 lines
789 B
Bash
Executable File
37 lines
789 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. config/options
|
|
|
|
$SCRIPTS/build toolchain
|
|
$SCRIPTS/build linux
|
|
# $SCRIPTS/build libirman
|
|
|
|
if [ "$DEBUG" = yes ]; then
|
|
DEBUG_CONFIG="--enable-debug --disable-stripping"
|
|
else
|
|
DEBUG_CONFIG="--disable-debug --enable-stripping"
|
|
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
|
|
./configure --host=$TARGET_NAME \
|
|
--build=$HOST_NAME \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--disable-shared \
|
|
--enable-sandboxed \
|
|
--without-x \
|
|
--with-driver=$RECEIVER \
|
|
--with-port=0x3f8 \
|
|
--with-irq=4 \
|
|
--with-kerneldir=$(kernel_path) \
|
|
$DEBUG_CONFIG
|
|
|
|
make
|
|
|
|
$MAKEINSTALL -C tools
|