summaryrefslogblamecommitdiffstats
path: root/audio-drivers/alsa-driver/PREPARE
blob: 047cc729609bb6209ab796ac2b12cd2846677705 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                               
                  





                                                                                                    

     
                                
# for get_sorcery_kernel_config
source $GRIMOIRE/FUNCTIONS  &&

### soundcore test
if [[ $(get_sorcery_kernel_config CONFIG_SOUND) != y &&
$(get_sorcery_kernel_config CONFIG_SOUND) != m &&
`grep -c 'CONFIG_SOUND is not set' ${CONFIG_CACHE}/kernel.config` != 1 ]]
then
  message "${SPELL_COLOR} You *must* configure your kernel with CONFIG_SOUND on${DEFAULT_COLOR}"  &&
  return 1
fi &&

prepare_select_branch stable scm