From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mout.kundenserver.de ([212.227.126.131]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1dvNwU-0007Sr-To for ptxdist@pengutronix.de; Fri, 22 Sep 2017 15:24:31 +0200 Received: from idefix.home.lespocky.de ([80.129.239.40]) by mrelayeu.kundenserver.de (mreue003 [212.227.15.167]) with ESMTPSA (Nemesis) id 0LtBwl-1dG5nW0YDz-012nas for ; Fri, 22 Sep 2017 15:24:25 +0200 Received: from falbala.home.lespocky.de ([192.168.243.94]) by idefix.home.lespocky.de with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.82) (envelope-from ) id 1dvNw9-0002Y4-WC for ptxdist@pengutronix.de; Fri, 22 Sep 2017 15:24:24 +0200 Date: Fri, 22 Sep 2017 15:24:08 +0200 From: Alexander Dahl Message-ID: <20170922132407.qksxkmfe55ewq5up@falbala.home.lespocky.de> MIME-Version: 1.0 Subject: [ptxdist] Handling build time only dependencies List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: multipart/mixed; boundary="===============1906640934==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de --===============1906640934== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="hd7d52iayzoj32vm" Content-Disposition: inline --hd7d52iayzoj32vm Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, I'm a little stuck with a problem I consider a maybe common one. I have an ordinary C library. For some projects I compile and link against it the usual way, so in my applications .in rule I just do 'SELECT LIBFOO' and the library package will be copied to the target including .so file, loading at runtime etc. Now for another BSP I have another application where I only need to include some header files of this library, but do not call any API functions and do not link against it. So I only need the library at build time, no library package has to be copied to the target later and the library doesn't need to be loaded at runtime. Can I express this somehow in ptxdist and how? (This is just to save space on the target, I know I could let copy the lib to the target, where it won't be loaded then, which is the way it's done currently.) Greets Alex --=20 =BBWith the first link, the chain is forged. The first speech censured,=20 the first thought forbidden, the first freedom denied, chains us all=20 irrevocably.=AB (Jean-Luc Picard, quoting Judge Aaron Satie) *** GnuPG-FP: C28E E6B9 0263 95CF 8FAF 08FA 34AD CD00 7221 5CC6 *** --hd7d52iayzoj32vm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEwo7muQJjlc+Prwj6NK3NAHIhXMYFAlnFDvQACgkQNK3NAHIh XMbpuxAAwuaQuC184nEzIFO5PjjExEvGJkUIhnBGKjuDNscNgirogcCT7gjRzBF8 6vbe2WrFrrbE/nS0jTvJwcyIFsJJtM8SUy0CZG/6l5hNwa20O0BxtFfcZRY1jeVg 4IpYOm/DAGDcXSfKMI2QjuKavlK3c0EkbpNx5zCHrf4WdYyKWA/LLPsulLmym6c5 wRskF9Kra28yfXBMprBg+WIX+kf8Icjicf/9UgLbwDCcz2xqJ5/N1YpLXeih1zSG Xt6jMfEgZIoc6sUEleSWBKLbhk2gxlkdva3RTltIjEkA74soNI1IZRbQLmdDtvz2 uXuX3EhUDGSFJpjN02d7A+pK/D0J3P+oYPo2IXlNLtCXlkkRVwsO5x1JbW2hchuo RlKjdTyaK/oNvj8EoP4prqqwjA88pbcsEIv6KpSJUx2AlNapCGQLaPubZgpUTr60 EOCTKAgapOSTk4k1423l2PsiI74wlxoTCH7WktLA5O52KydYm83yrD/wmKm1LvND xc+uf03pBAu0ImlLgWim6m8ackNMFpVoJPiF63wzeqxk3RavM+x3aANiNrT/be4l I2Z3fosyaBSbT6jQryubxz+9nj7hjSYTeEpfWLahz4y7jeBimmqENGw/fsKM1jKi gD/XdDMVn4zVa2JxAxZU0OojTDL+GbEfmtreEUQoyBwLUwcR/jg= =rHxT -----END PGP SIGNATURE----- --hd7d52iayzoj32vm-- --===============1906640934== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KcHR4ZGlzdCBt YWlsaW5nIGxpc3QKcHR4ZGlzdEBwZW5ndXRyb25peC5kZQ== --===============1906640934==--