#!/bin/sh

. config/options

$SCRIPTS/build toolchain
$SCRIPTS/build alsa-lib

cd $PKG_BUILD
./configure --host=$TARGET_NAME \
            --build=$HOST_NAME \
            --prefix=/usr \
            --sysconfdir=/etc \
            --localstatedir=/var \
            --disable-dependency-tracking \
            --disable-xmlto \
            --disable-alsamixer \
            --enable-alsatest \
            --disable-nls

make -C amixer
make -C alsactl

make -C aplay
make -C iecset
make -C speaker-test
