mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Using CMake/CPack install info in targetinstall step
@ 2015-04-08  9:08 Dörfler Florian
  2015-04-09  8:50 ` Michael Olbrich
  0 siblings, 1 reply; 5+ messages in thread
From: Dörfler Florian @ 2015-04-08  9:08 UTC (permalink / raw)
  To: ptxdist

Hello All

I wonder if I can simplify the install step for a CMake based target package and need a sanity check and a pointer to some info:

If I have understood, then the flow of the compiled packet's output is the following:
1) the "make install" step of the build of a packet copies the relevant files binaries/headers to the platform-<xyz>/sysroot-target/ directory 
2)  $(call install_copy, ...) and friends copy the files needed in the root FS to platform-<xyz>/root and create a packet

I could like to try and get rid of one of these lists of file to copy: If I use CMake to build the packet in step 1), I have already described the installation directions pretty detailed. I wonder if I can reuse that info for step 2).

The way I would go about it is this: I put a little more info into the CMakeLists.txt file and use CPack to create the .ipkg packet. Then I smuggle this package into the install flow.

Does this sound reasonable?
If yes: Can anybody point me to some info on how I can make the targetinstall step use an existing ipkg?

I use ptxdist 2015.02.0

Cheers

Florian

--
Florian Dörfler, Development Engineer
Direct +41 (0)43 456 16 01  .  Phone +41 (0)43 456 16 00  .  www.scs.ch
Supercomputing Systems AG  .  Technoparkstrasse 1  .  CH-8005 Zürich


-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2015-06-02 11:42 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-08  9:08 [ptxdist] Using CMake/CPack install info in targetinstall step Dörfler Florian
2015-04-09  8:50 ` Michael Olbrich
2015-04-09  9:36   ` Dörfler Florian
2015-04-09  9:46     ` Michael Olbrich
2015-06-02 11:42   ` Dörfler Florian

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