mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
42 lines
797 B
Bash
Executable File
42 lines
797 B
Bash
Executable File
#!/bin/sh
|
|
|
|
. config/options
|
|
|
|
$SCRIPTS/build toolchain
|
|
$SCRIPTS/unpack mysql
|
|
|
|
setup_toolchain host
|
|
|
|
cd $BUILD/mysql*
|
|
|
|
mkdir -p .objdir-host
|
|
cd .objdir-host
|
|
|
|
../configure --prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--libexecdir=/usr/sbin \
|
|
--localstatedir=/var/mysql \
|
|
|
|
make -C include my_config.h
|
|
make -C mysys libmysys.a
|
|
make -C strings libmystrings.a
|
|
|
|
make -C dbug factorial
|
|
|
|
cp -PR dbug/factorial $ROOT/$TOOLCHAIN/bin/mysql-factorial
|
|
|
|
make -C vio libvio.a
|
|
make -C dbug libdbug.a
|
|
make -C regex libregex.a
|
|
make -C sql gen_lex_hash
|
|
|
|
cp -PR sql/gen_lex_hash $ROOT/$TOOLCHAIN/bin/mysql-gen_lex_hash
|
|
|
|
make -C scripts comp_sql
|
|
|
|
cp -PR scripts/comp_sql $ROOT/$TOOLCHAIN/bin/mysql-comp_sql
|
|
|
|
make -C extra comp_err
|
|
|
|
cp -PR extra/comp_err $ROOT/$TOOLCHAIN/bin/mysql-comp_err
|