| FILESEXTRAPATHS_append := ":${THISDIR}/${PN}" |
| |
| SRC_URI_append = " file://mt-snd-card/HiFi.conf \ |
| file://mt-snd-card/HiFi_pcm.conf \ |
| file://mt-snd-card/mt-snd-card.conf \ |
| file://mt-snd-card/phonecall.conf \ |
| file://mt2635-ext-codec/HiFi.conf \ |
| file://mt2635-ext-codec/mt2635-ext-codec.conf \ |
| " |
| |
| do_install_append () { |
| install -d ${D}${datadir}/alsa/ucm/mt2635-ext-codec |
| install -m 644 ${S}/mt2635-ext-codec/*.conf ${D}${datadir}/alsa/ucm/mt2635-ext-codec |
| install -d ${D}${datadir}/alsa/ucm/mt-snd-card |
| if ${@bb.utils.contains("BT_AUDIO_PCM_INTERFACE","yes",'true','false',d)}; then |
| install -m 644 ${S}/mt-snd-card/HiFi_pcm.conf ${D}${datadir}/alsa/ucm/mt-snd-card/HiFi.conf |
| else |
| install -m 644 ${S}/mt-snd-card/HiFi.conf ${D}${datadir}/alsa/ucm/mt-snd-card |
| fi |
| install -m 644 ${S}/mt-snd-card/mt-snd-card.conf ${D}${datadir}/alsa/ucm/mt-snd-card |
| install -m 644 ${S}/mt-snd-card/phonecall.conf ${D}${datadir}/alsa/ucm/mt-snd-card |
| } |