aboutsummaryrefslogtreecommitdiff
path: root/extra/alsa-utils/build
blob: 9f19791c84ee874e6f211337746cfe004da3418a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh -e

clsed '37a #include <sys/types.h>' nhlt/nhlt-dmic-info.c

./configure \
    --prefix=/usr \
    --disable-alsaconf \
    --disable-bat \
    --disable-xmlto \
    --disable-nls

make
make DESTDIR="$1" install

# Get rid of sbin
mv "$1/usr/sbin/alsactl" "$1/usr/sbin/alsa-info.sh" "$1/usr/bin"
rm -rf "$1/usr/sbin"