From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from moutng.kundenserver.de ([212.227.126.171]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1RNmVR-0007vW-Cf for ptxdist@pengutronix.de; Tue, 08 Nov 2011 15:18:30 +0100 From: bernhard@bwalle.de Date: Tue, 8 Nov 2011 15:17:32 +0100 Message-Id: <1320761852-9893-1-git-send-email-bernhard@bwalle.de> Subject: [ptxdist] [PATCH] alsa-lib: Allow installation of /etc/asound.conf Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Bernhard Walle From: Bernhard Walle Some systems require a tuned /etc/asound.conf, for example for special mixer entries. Signed-off-by: Bernhard Walle --- rules/alsa-lib.in | 6 ++++++ rules/alsa-lib.make | 6 ++++++ 2 files changed, 12 insertions(+), 0 deletions(-) diff --git a/rules/alsa-lib.in b/rules/alsa-lib.in index 393a02a..c32d361 100644 --- a/rules/alsa-lib.in +++ b/rules/alsa-lib.in @@ -38,6 +38,12 @@ choice conversion is available with SALSA-lib. endchoice +config ALSA_LIB_ASOUND_CONF + bool + prompt "install /etc/asound.conf from projectroot" + help + install a asound.conf file from the projectroot + config ALSA_LIB_RESMGR bool depends on BROKEN diff --git a/rules/alsa-lib.make b/rules/alsa-lib.make index 929ab4e..bfec83f 100644 --- a/rules/alsa-lib.make +++ b/rules/alsa-lib.make @@ -207,6 +207,12 @@ endif /usr/share/alsa/pcm/dsnoop.conf) endif +ifdef PTXCONF_ALSA_LIB_ASOUND_CONF + @$(call install_copy, alsa-lib, 0, 0, 0644, \ + $(PTXDIST_WORKSPACE)/projectroot/etc/asound.conf, \ + /etc/asound.conf) +endif + @$(call install_finish, alsa-lib) @$(call touch) -- 1.7.7.2 -- ptxdist mailing list ptxdist@pengutronix.de