Drop alsa ucm mask from rk3566.

This commit is contained in:
fewtarius 2023-11-13 13:34:09 +00:00
parent 7d32c2993d
commit 3773c56fa8
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
2 changed files with 2 additions and 15 deletions

View file

@ -7,20 +7,11 @@ PKG_VERSION="1.2.9"
PKG_LICENSE="GPL"
PKG_SITE="http://www.alsa-project.org/"
PKG_URL="https://www.alsa-project.org/files/pub/lib/alsa-lib-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain alsa-topology-conf"
PKG_DEPENDS_TARGET="toolchain alsa-ucm-conf alsa-topology-conf"
PKG_LONGDESC="ALSA (Advanced Linux Sound Architecture) is the next generation Linux Sound API."
PKG_TOOLCHAIN="autotools"
PKG_BUILD_FLAGS="+pic"
case ${DEVICE} in
RK356*)
PKG_DEPENDS_TARGET+=""
;;
*)
PKG_DEPENDS_TARGET+=" alsa-ucm-conf"
;;
esac
if build_with_debug; then
PKG_ALSA_DEBUG=--with-debug
else

View file

@ -8,7 +8,7 @@ PKG_VERSION="1.2.9"
PKG_LICENSE="GPL"
PKG_SITE="http://www.alsa-project.org/"
PKG_URL="https://www.alsa-project.org/files/pub/utils/alsa-utils-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain alsa-lib ncurses systemd"
PKG_DEPENDS_TARGET="toolchain alsa-lib ncurses systemd alsa-ucm-conf"
PKG_LONGDESC="This package includes the utilities for ALSA, like alsamixer, aplay, arecord, alsactl, iecset and speaker-test."
PKG_TOOLCHAIN="autotools"
@ -20,10 +20,6 @@ PKG_CONFIGURE_OPTS_TARGET="--disable-alsaconf \
--disable-nls \
--disable-rst2man \
--disable-xmlto"
if [[ ! "${DEVICE}" =~ RK356 ]]
then
PKG_DEPENDS_TARGET+=" alsa-ucm-conf"
fi
post_makeinstall_target() {
rm -rf ${INSTALL}/lib ${INSTALL}/var