blob: 9335b15b28779ea067e698f3519040b853b60ff2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Clean out the old alsa drivers. FIXME: Bad location for 2.6!
rm -f ${INSTALL_ROOT}/lib/modules/$(get_kernel_version)/misc/snd* &&
if [[ $(get_sorcery_kernel_config CONFIG_SOUND) == m ||
`grep -c CONFIG_SOUND=m ${CONFIG_CACHE}/kernel.config` == 1 ]]
then
modprobe -q soundcore
fi &&
sedit "s:/usr/bin/awk:${TRACK_ROOT}/bin/awk:" utils/convert_isapnp_ids &&
sedit "s: install-scripts : :" Makefile &&
OPTS="--with-isapnp=yes --with-sequencer=yes --with-oss=yes --with-debug=none \
--with-moddir=${INSTALL_ROOT}/lib/modules/$(get_kernel_version)/misc \
--with-kernel=${INSTALL_ROOT}/lib/modules/$(get_kernel_version)/source \
--with-cards=${CARDS} --enable-dynamic-minors ${OPTS}" &&
if [[ $ALSA_DRIVER_BRANCH == scm ]]; then
export ALSAKERNELDIR="$SOURCE2_DIRECTORY" &&
OPTS="--prefix=${INSTALL_ROOT}/usr \
--sysconfdir=${INSTALL_ROOT}/etc \
--localstatedir=${INSTALL_ROOT}/var \
--mandir=${INSTALL_ROOT}/usr/share/man \
--infodir=${INSTALL_ROOT}/usr/share/info \
$OPTS" &&
./gitcompile $OPTS
else
sedit "s:root.root:root.audio:" snddevices &&
default_build
fi
|