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
[email protected]

Reply via email to