From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail.scs.ch ([212.203.110.165]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Yflyp-0000sc-QP for ptxdist@pengutronix.de; Wed, 08 Apr 2015 11:09:04 +0200 Received: from exchange.scs-ad.scs.ch ([172.18.0.109]:30067) by mail.scs.ch with esmtps (TLSv1:AES128-SHA:128) (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1Yflyi-0002xf-1p for ptxdist@pengutronix.de; Wed, 08 Apr 2015 11:08:56 +0200 From: =?iso-8859-1?Q?D=F6rfler_Florian?= Date: Wed, 8 Apr 2015 11:08:54 +0200 Message-ID: Content-Language: en-US MIME-Version: 1.0 Subject: [ptxdist] Using CMake/CPack install info in targetinstall step Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: "ptxdist@pengutronix.de" Hello All I wonder if I can simplify the install step for a CMake based target packag= e 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 fil= es binaries/headers to the platform-/sysroot-target/ directory = 2) $(call install_copy, ...) and friends copy the files needed in the root= FS to platform-/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 ins= tallation 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 CMak= eLists.txt file and use CPack to create the .ipkg packet. Then I smuggle th= is package into the install flow. Does this sound reasonable? If yes: Can anybody point me to some info on how I can make the targetinsta= ll step use an existing ipkg? I use ptxdist 2015.02.0 Cheers Florian -- Florian D=F6rfler, Development Engineer Direct +41 (0)43 456 16 01=A0 . =A0Phone +41 (0)43 456 16 00=A0 . =A0www.sc= s.ch Supercomputing Systems AG=A0 . =A0Technoparkstrasse 1=A0 . =A0CH-8005 Z=FCr= ich -- = ptxdist mailing list ptxdist@pengutronix.de