Building kernel with no sound

From: Alexander Sieg <alex_at_xanderio.de>
Date: Mon, 15 Jan 2018 19:14:57 +0100
Hey,
i´m trying to build a custom kernel with no sound support build in.

This is my make.conf:
MALLOC_PRODUCTION=true
KERNCONF=MYKERNEL #GENERIC-NODEBUG
DEVELOPER=yes

and this is my kernel configuration:
include GENERIC-NODEBUG

ident   MYKERNEL

nodevice	sound 		# Generic sound driver (required)
nodevice	snd_es137x	# Ensoniq AUdioPCI ES137x
nodevice	snd_hda		# Intel High Definition Audio
nodevice	snd_ich		# Intel, Nvidia and other ICH AC'97 audio
nodevice	snd_uaudio	# USB Audio
nodevice	snd_via8233	# VIA VT823x Audio


The problem is when i try to compile it with "make buildkernel" the
build process starts, but it stop with the error that it can´t find the
header file "channel_if.h".

/usr/src/sys/dev/sound/pcm/channel.h:256:10: fatal error: 'channel_if.h' file not found
#include "channel_if.h"
         ^~~~~~~~~~~~~~

The intention behind the custom kernel is to try 'oss' form the
ports tree.

Received on Mon Jan 15 2018 - 17:21:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:14 UTC