mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
31 lines
433 B
Bash
Executable File
31 lines
433 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. config/options
|
|
|
|
$SCRIPTS/build toolchain
|
|
$SCRIPTS/build zlib
|
|
|
|
export MAKEFLAGS=-j1
|
|
|
|
case $TARGET_ARCH in
|
|
i386)
|
|
TARGET=linux-elf
|
|
;;
|
|
x86_64)
|
|
TARGET=linux-x86_64
|
|
;;
|
|
powerpc)
|
|
TARGET=linux-ppc
|
|
;;
|
|
powerpc64)
|
|
TARGET=linux-ppc64
|
|
;;
|
|
esac
|
|
|
|
cd $PKG_BUILD
|
|
./Configure zlib-dynamic no-shared no-dso no-krb5 --prefix=$SYSROOT_PREFIX/usr $TARGET
|
|
|
|
make CC=$CC LD=$LD RANLIB=$RANLIB
|
|
|
|
make install
|