From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Date: Tue, 8 Nov 2011 15:36:30 +0100 From: Bernhard Walle Message-ID: <20111108143630.GA7920@regiomontanus.bwalle.de> References: <1320761852-9893-1-git-send-email-bernhard@bwalle.de> <201111081529.26688.jbe@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201111081529.26688.jbe@pengutronix.de> Subject: Re: [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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: Juergen Beisert Cc: ptxdist@pengutronix.de * Juergen Beisert [2011-11-08 15:29]: > bernhard@bwalle.de wrote: > > [...] > > 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 > > + > > You should use the 'install_alternative' macro here. It's more flexible and > you also can store this special file in the platform instead of the BSP > project (as this file is more related to the platform than the BSP). Ah, yes, sorry. It's still from my first steps with ptxdist and after the latest ALSA update I had to adjust my copied alsa-lib.*, so I thought it's better to send it mainline. Unfortunately, I didn't take a closer look ... Updated patch will follow. Regards, Bernhard -- ptxdist mailing list ptxdist@pengutronix.de