From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wi0-x232.google.com ([2a00:1450:400c:c05::232]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1XCpdM-0001vx-Gv for ptxdist@pengutronix.de; Thu, 31 Jul 2014 14:39:01 +0200 Received: by mail-wi0-f178.google.com with SMTP id hi2so4032362wib.5 for ; Thu, 31 Jul 2014 05:38:53 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20140731122321.GJ29377@pengutronix.de> References: <20140731101026.GG29377@pengutronix.de> <20140731122321.GJ29377@pengutronix.de> Date: Thu, 31 Jul 2014 14:38:52 +0200 Message-ID: From: Wim Vinckier Subject: Re: [ptxdist] Overwriting rules Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============1794163294==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de --===============1794163294== Content-Type: multipart/alternative; boundary=f46d0444eac51f678c04ff7c8e0d --f46d0444eac51f678c04ff7c8e0d Content-Type: text/plain; charset=UTF-8 On Thu, Jul 31, 2014 at 2:23 PM, Michael Olbrich wrote: > On Thu, Jul 31, 2014 at 01:38:44PM +0200, Wim Vinckier wrote: > > On Thu, Jul 31, 2014 at 12:10 PM, Michael Olbrich < > m.olbrich@pengutronix.de> > > wrote: > > > On Thu, Jul 31, 2014 at 12:02:25PM +0200, Wim Vinckier wrote: > > > > I thought I could overwrite an existing rule by adding a rule with > the > > > same > > > > name in my rules directory but ptxdist doesn't seem to pick up the > .make > > > > file. Running 'ptxdist menuconfig' I see it uses new 'inadyn.in' > but my > > > > modified 'inadyn.make' isn't used. > > > > > > > > Did I think wrong or what I can do wrong? > > > > > > Check platform-/state/ptx_dgen_rulesfiles.make > > > All used makefiles are included there and you should see which version > is > > > used. > > > > > > Michael > > > > > > > > Thanks for the hint. When checking the file, I found he never picked up > a > > make-file from my rules directory. My rules directory is a link to > > repository I checked out elsewhere. I copied the directory as a test and > > that way it works. Is there anyway I can use a link there? > > I've fixed this in ptxdist master. Until you can use that, the only > solution I see is to create the directory and link the individual files. > > Cool! I applied your patch and it seems to work. Thanks for fixing! Keep up the good work! wim vinckier. --f46d0444eac51f678c04ff7c8e0d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

= On Thu, Jul 31, 2014 at 2:23 PM, Michael Olbrich <m.olbrich@pengutr= onix.de> wrote:
On Thu, Jul 31, 2014 at 01:38:44PM +0200, = Wim Vinckier wrote:
> On Thu, Jul 31, 2014 at 12:10 PM, Michael Olbrich <m.olbrich@pengutronix.de>
> wrote:
> > On Thu, Jul 31, 2014 at 12:02:25PM +0200, W= im Vinckier wrote:
> > > I thought I could overwrite an existing rule by adding a rul= e with the
> > same
> > > name in my rules directory but ptxdist doesn't seem to p= ick up the .make
> > > file. =C2=A0Running 'ptxdist menuconfig' I see it us= es new 'inadyn.in= 9; but my
> > > modified 'inadyn.make' isn't used.
> > >
> > > Did I think wrong or what I can do wrong?
> >
> > Check platform-<something>/state/ptx_dgen_rulesfiles.make > > All used makefiles are included there and you should see which ve= rsion is
> > used.
> >
> > Michael
> >
> >
> Thanks for the hint. =C2=A0When checking the file, I found he never pi= cked up a
> make-file from my rules directory. =C2=A0My rules directory is a link = to
> repository I checked out elsewhere. =C2=A0I copied the directory as a = test and
> that way it works. Is there anyway I can use a link there?

I've fixed this in ptxdist master. Until you can use that, the on= ly
solution I see is to create the directory and link the individual files.

C= ool! I applied your patch and it seems to work. Thanks for fixing! Keep up = the good work!

wim vinckier.=C2=A0

=
--f46d0444eac51f678c04ff7c8e0d-- --===============1794163294== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============1794163294==--