From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Juergen Beisert Date: Tue, 8 Nov 2011 15:29:26 +0100 References: <1320761852-9893-1-git-send-email-bernhard@bwalle.de> In-Reply-To: <1320761852-9893-1-git-send-email-bernhard@bwalle.de> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <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: ptxdist@pengutronix.de Cc: bernhard@bwalle.de, Bernhard Walle 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). jbe -- Pengutronix e.K. | Juergen Beisert | Linux Solutions for Science and Industry | http://www.pengutronix.de/ | -- ptxdist mailing list ptxdist@pengutronix.de