mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Overwriting rules
@ 2014-07-31 10:02 Wim Vinckier
  2014-07-31 10:10 ` Michael Olbrich
  0 siblings, 1 reply; 6+ messages in thread
From: Wim Vinckier @ 2014-07-31 10:02 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 335 bytes --]

Hi,

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?

Kind regards,

wim vinckier.

[-- Attachment #1.2: Type: text/html, Size: 519 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ptxdist] Overwriting rules
  2014-07-31 10:02 [ptxdist] Overwriting rules Wim Vinckier
@ 2014-07-31 10:10 ` Michael Olbrich
  2014-07-31 10:57   ` wim vinckier
  2014-07-31 11:38   ` Wim Vinckier
  0 siblings, 2 replies; 6+ messages in thread
From: Michael Olbrich @ 2014-07-31 10:10 UTC (permalink / raw)
  To: ptxdist

Hi,

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-<something>/state/ptx_dgen_rulesfiles.make
All used makefiles are included there and you should see which version is used.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ptxdist] Overwriting rules
  2014-07-31 10:10 ` Michael Olbrich
@ 2014-07-31 10:57   ` wim vinckier
  2014-07-31 11:38   ` Wim Vinckier
  1 sibling, 0 replies; 6+ messages in thread
From: wim vinckier @ 2014-07-31 10:57 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 888 bytes --]

Hi,


On Thu, Jul 31, 2014 at 12:10 PM, Michael Olbrich <m.olbrich@pengutronix.de>
wrote:

> Hi,
>
> 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-<something>/state/ptx_dgen_rulesfiles.make
> All used makefiles are included there and you should see which version is
> used.
>
> Michael
>
>
Thanks for the hint.  It uses the original.  I moved the original .in and
.make to my rules directory and it uses the .in but not the .make.  It
doesn't even build one after running 'ptxdist clean inadyn'.  I don't get
it.

wim vinckier.

[-- Attachment #1.2: Type: text/html, Size: 1571 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ptxdist] Overwriting rules
  2014-07-31 10:10 ` Michael Olbrich
  2014-07-31 10:57   ` wim vinckier
@ 2014-07-31 11:38   ` Wim Vinckier
  2014-07-31 12:23     ` Michael Olbrich
  1 sibling, 1 reply; 6+ messages in thread
From: Wim Vinckier @ 2014-07-31 11:38 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 925 bytes --]

Hi,

On Thu, Jul 31, 2014 at 12:10 PM, Michael Olbrich <m.olbrich@pengutronix.de>
wrote:

> Hi,
>
> 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-<something>/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?

[-- Attachment #1.2: Type: text/html, Size: 1491 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ptxdist] Overwriting rules
  2014-07-31 11:38   ` Wim Vinckier
@ 2014-07-31 12:23     ` Michael Olbrich
  2014-07-31 12:38       ` Wim Vinckier
  0 siblings, 1 reply; 6+ messages in thread
From: Michael Olbrich @ 2014-07-31 12:23 UTC (permalink / raw)
  To: ptxdist

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-<something>/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.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [ptxdist] Overwriting rules
  2014-07-31 12:23     ` Michael Olbrich
@ 2014-07-31 12:38       ` Wim Vinckier
  0 siblings, 0 replies; 6+ messages in thread
From: Wim Vinckier @ 2014-07-31 12:38 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 1417 bytes --]

On Thu, Jul 31, 2014 at 2:23 PM, Michael Olbrich <m.olbrich@pengutronix.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, 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-<something>/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.

[-- Attachment #1.2: Type: text/html, Size: 2252 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-07-31 12:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-31 10:02 [ptxdist] Overwriting rules Wim Vinckier
2014-07-31 10:10 ` Michael Olbrich
2014-07-31 10:57   ` wim vinckier
2014-07-31 11:38   ` Wim Vinckier
2014-07-31 12:23     ` Michael Olbrich
2014-07-31 12:38       ` Wim Vinckier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox