mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] PTXdist variables
@ 2015-08-25  6:24 Stranz Jan-Marc
  2015-08-25  6:37 ` Bruno Thomsen
  2015-08-25  7:50 ` Juergen Borleis
  0 siblings, 2 replies; 7+ messages in thread
From: Stranz Jan-Marc @ 2015-08-25  6:24 UTC (permalink / raw)
  To: ptxdist

Hi Juergen,

I know this document you have pointed to very well; I've already been working with PTXdist some time.
But looking around existing rules I see, there are a lot useful ptxdist variables and these variables are not described in any documentation I've seen.
For example: there is a variable PROJECT_SPECIFIC_DIR; very useful for a rule that adds files to the root file system.
Other variables are PTXCONF_ARCH_STRING, PTXCONF_KERNEL_CONFIG, PTXCONF_COMPILER_PREFIX, ... and so on.
It is very hard to find out these variables; at the moment I see these only "by accident".

Is there an deterministic way to obtain the list of existent variables for a project?

Best regards,
Jan-Marc.




-----Ursprüngliche Nachricht-----
Von: Juergen Borleis [mailto:jbe@pengutronix.de] 
Gesendet: Montag, 24. August 2015 11:16
An: ptxdist@pengutronix.de
Cc: Stranz Jan-Marc <JM.Stranz@gantner-instruments.com>
Betreff: Re: [ptxdist] PTXdist variables

Hi Jan-Marc,

On Friday 14 August 2015 14:23:46 Stranz Jan-Marc wrote:
> When I'm writing a user defined rule I should use ptxdist variables 
> instead absolute paths or values.
>
> There a lot of variables available in a project (e.a.
> PTXDIST_CROSS_CPPFLAGS, PTXDIST_CROSS_LDFLAGS, PTXDIST_PLATFORMCONFIG, 
> PTXCONF_GNU_TARGET, ....), but from where do I know the names of these 
> variables? How can I obtain a list about available variables for a project?

For example: [1] section 5.1

Regards
Juergen

[1]
http://www.pengutronix.de/software/ptxdist/appnotes/OSELAS.BSP-Pengutronix-Generic-arm-Quickstart.pdf

--
Pengutronix e.K.                              | Juergen Borleis             | Industrial Linux Solutions                    | http://www.pengutronix.de/  |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [ptxdist] PTXdist variables
@ 2015-08-14 12:23 Stranz Jan-Marc
  2015-08-24  9:15 ` Juergen Borleis
  0 siblings, 1 reply; 7+ messages in thread
From: Stranz Jan-Marc @ 2015-08-14 12:23 UTC (permalink / raw)
  To: ptxdist


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

When I'm writing a user defined rule I should use ptxdist variables instead absolute paths or values.

There a lot of variables available in a project (e.a. PTXDIST_CROSS_CPPFLAGS, PTXDIST_CROSS_LDFLAGS, PTXDIST_PLATFORMCONFIG, PTXCONF_GNU_TARGET, ....), but from where do I know the names of these variables?
How can I obtain a list about available variables for a project?

Best regards,
Jan-Marc Stranz.



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

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

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2015-09-04 10:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-25  6:24 [ptxdist] PTXdist variables Stranz Jan-Marc
2015-08-25  6:37 ` Bruno Thomsen
2015-08-25  9:01   ` Stranz Jan-Marc
2015-09-04 10:31     ` jean-philippe francois
2015-08-25  7:50 ` Juergen Borleis
  -- strict thread matches above, loose matches on Subject: below --
2015-08-14 12:23 Stranz Jan-Marc
2015-08-24  9:15 ` Juergen Borleis

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