* [ptxdist] building a project using ptxdist sysroot-target
@ 2014-01-15 15:31 Jon Ringle
2014-01-16 7:24 ` Matthias Klein
2014-01-16 9:55 ` Michael Olbrich
0 siblings, 2 replies; 3+ messages in thread
From: Jon Ringle @ 2014-01-15 15:31 UTC (permalink / raw)
To: ptxdist
[-- Attachment #1.1: Type: text/plain, Size: 756 bytes --]
I've built a rootfs using ptxdist with PTXCONF_PROJECT_CREATE_DEVPKGS=y
I now have in platform/packages/*-dev.tar.gz for each package built.
I believe that I can use the *-dev.tar.gz files to recreate sysroot-target/
so that a developer can build a project without using ptxdist that depends
on libraries and include files that was built by ptxdist. Does this make
sense?
I'm looking at doing a workflow where ptxdist builds linux kernel and
rootfs, and then the *-dev.tar.gz only are given to other developers to do
their work of creating projects for the target board without having to
build linux kernel and rootfs all over again.
Is there support in ptxdist for this type of workflow model?
Any other approaches that others have taken?
Thanks,
Jon
[-- Attachment #1.2: Type: text/html, Size: 882 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ptxdist] building a project using ptxdist sysroot-target
2014-01-15 15:31 [ptxdist] building a project using ptxdist sysroot-target Jon Ringle
@ 2014-01-16 7:24 ` Matthias Klein
2014-01-16 9:55 ` Michael Olbrich
1 sibling, 0 replies; 3+ messages in thread
From: Matthias Klein @ 2014-01-16 7:24 UTC (permalink / raw)
To: ptxdist
[-- Attachment #1.1: Type: text/plain, Size: 1325 bytes --]
We are also interested in building a "development package" for our
platform which contains the compiler, library and header files to build
and debug applications with QtCreator so that our application developers
don't need to use / have ptxdist.
Any Tips in that direction would be fine.
Best regards,
Matthias
------ Originalnachricht ------
Von: "Jon Ringle" <jon@ringle.org>
An: ptxdist@pengutronix.de
Gesendet: 15.01.2014 16:31:46
Betreff: [ptxdist] building a project using ptxdist sysroot-target
>I've built a rootfs using ptxdist with PTXCONF_PROJECT_CREATE_DEVPKGS=y
>I now have in platform/packages/*-dev.tar.gz for each package built.
>
>I believe that I can use the *-dev.tar.gz files to recreate
>sysroot-target/ so that a developer can build a project without using
>ptxdist that depends on libraries and include files that was built by
>ptxdist. Does this make sense?
>
>I'm looking at doing a workflow where ptxdist builds linux kernel and
>rootfs, and then the *-dev.tar.gz only are given to other developers to
>do their work of creating projects for the target board without having
>to build linux kernel and rootfs all over again.
>
>Is there support in ptxdist for this type of workflow model?
>Any other approaches that others have taken?
>
>Thanks,
>Jon
[-- Attachment #1.2: Type: text/html, Size: 2330 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [ptxdist] building a project using ptxdist sysroot-target
2014-01-15 15:31 [ptxdist] building a project using ptxdist sysroot-target Jon Ringle
2014-01-16 7:24 ` Matthias Klein
@ 2014-01-16 9:55 ` Michael Olbrich
1 sibling, 0 replies; 3+ messages in thread
From: Michael Olbrich @ 2014-01-16 9:55 UTC (permalink / raw)
To: ptxdist
Hi,
On Wed, Jan 15, 2014 at 10:31:46AM -0500, Jon Ringle wrote:
> I've built a rootfs using ptxdist with PTXCONF_PROJECT_CREATE_DEVPKGS=y
> I now have in platform/packages/*-dev.tar.gz for each package built.
>
> I believe that I can use the *-dev.tar.gz files to recreate sysroot-target/
> so that a developer can build a project without using ptxdist that depends
> on libraries and include files that was built by ptxdist. Does this make
> sense?
>
> I'm looking at doing a workflow where ptxdist builds linux kernel and
> rootfs, and then the *-dev.tar.gz only are given to other developers to do
> their work of creating projects for the target board without having to
> build linux kernel and rootfs all over again.
>
> Is there support in ptxdist for this type of workflow model?
> Any other approaches that others have taken?
You can do that with PTXdist. Enable PROJECT_USE_DEVPKGS (this is right
next to PROJECT_CREATE_DEVPKGS) and set the path to the directory
containing the *-dev.tar.gz.
For any package with a matching *-dev.tar.gz PTXdist will skip all stages
including "install" and extract the archive instead. The rest
(copying the files to sysroot, targetinstall, etc.) happens as usual.
Note: just manually extracting the *-dev.tar.gz to create a sysroot will
not work. PTXdist does some magic to make sure the paths in any "*.la" etc.
match the new sysroot.
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] 3+ messages in thread
end of thread, other threads:[~2014-01-16 9:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-01-15 15:31 [ptxdist] building a project using ptxdist sysroot-target Jon Ringle
2014-01-16 7:24 ` Matthias Klein
2014-01-16 9:55 ` Michael Olbrich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox