From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail1.bemta5.messagelabs.com ([195.245.231.150]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1XWKG5-0005wX-MX for ptxdist@pengutronix.de; Tue, 23 Sep 2014 09:11:36 +0200 From: Alan Martinovic Date: Tue, 23 Sep 2014 07:11:32 +0000 Message-ID: <916A03CCEB30DF44AD98D4CFDC7448D00D59B9BE@nooslzsmx1.zenitelcss.com> Content-Language: en-US MIME-Version: 1.0 Subject: [ptxdist] install_copy not recognizing path to a file Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0761350925==" Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: "ptxdist@pengutronix.de" --===============0761350925== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_916A03CCEB30DF44AD98D4CFDC7448D00D59B9BEnooslzsmx1zenit_" --_000_916A03CCEB30DF44AD98D4CFDC7448D00D59B9BEnooslzsmx1zenit_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, I'm adding a custom application into the build system and I'm having undef= ined issues with install_copy. I have defined the rule as follows: *$(MYLIB_SOURCE_LOCAL) is the path where the binaries are located. (oselas= .project/build/mylib -1234) $(STATEDIR)/mylib.targetinstall: @$(call targetinfo) @$(call install_init, mylib) @$(call install_fixup, mylib,PRIORITY,optional) @$(call install_fixup, mylib,SECTION,base) @$(call install_fixup, mylib,AUTHOR,"<>") @$(call install_fixup, mylib,DESCRIPTION,missing) @$(call install_copy, mylib, 0, 0, 0755, $(MYLIB_SOURCE_LO= CAL)/mylib.a, /usr/lib/mylib.a) @$(call install_copy, mylib, 0, 0, 0755, $(MYLIB_SOURCE_LO= CAL)/include/mylib.h, /usr/include/mylib.h) @$(call install_finish, mylib) @$(call touch) When I run targetinstall I get the following error: install file: src=3Doselas.project/build/mylib -1234 =20dst=3D/usr/lib/libzxmlconfig.a owner=3D0 group=3D0 permissions=3D0755 install: omitting directory '/home/user/Workspace/oselas.project/build/myl= ib -1234 For some reason it doesn't append the /mylib.a to the path. Any ideas on t= his? BR Alan DISCLAIMER: This e-mail may contain confidential and privileged material for the sole = use of the intended recipient. Any review, use, distribution or disclosure= by others is strictly prohibited. If you are not the intended recipient (= or authorized to receive for the recipient), please contact the sender by = reply e-mail and delete all copies of this message. --_000_916A03CCEB30DF44AD98D4CFDC7448D00D59B9BEnooslzsmx1zenit_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

I’m adding a custom application into the buil= d system and I’m having undefined issues with install_copy.
I have defined the rule as follows:

 

*$(MYLIB_SOURCE_LOCAL) is the path where the binari= es are located. (oselas.project/build/mylib -1234)

 

$(STATEDIR)/mylib.targetinstall:<= /p>

        =         @$(call targetinfo)<= /i>

        =         @$(call install_init, mylib)

        =         @$(call install_fixup, mylib,PR= IORITY,optional)

        =         @$(call install_fixup, mylib,SE= CTION,base)

        =         @$(call install_fixup, mylib,AU= THOR,"<>")

        =         @$(call install_fixup, mylib,DE= SCRIPTION,missing)

 

        =         @$(call install_copy, mylib, 0,= 0, 0755, $(MYLIB_SOURCE_LOCAL)/mylib.a, /usr/lib/mylib.a)<= /p>

        =         @$(call install_copy, mylib, 0,= 0, 0755, $(MYLIB_SOURCE_LOCAL)/include/mylib.h, /usr/include/mylib.h)

 

        =         @$(call install_finish, mylib)<= o:p>

        =         @$(call touch)

 

When I run targetinstall I get the following error:=
install file:

  src=3Doselas.project/build/mylib -1234

  dst=3D/usr/lib/libzxmlconfig.a  = ;    

  owner=3D0

  group=3D0

  permissions=3D0755

 

install: omitting directory '/home/user/Workspac= e/oselas.project/build/mylib -1234

 

For some reason it doesn’t append the /myl= ib.a to the path. Any ideas on this?

BR
Alan


DISCLAIMER:
This e-mail may contain confidential and privileged material for the sole = use of the intended recipient. Any review, use, distribution or disclosure= by others is strictly prohibited. If you are not the intended recipient (= or authorized to receive for the recipient), please contact the sender by = reply e-mail and delete all copies of this message.
--_000_916A03CCEB30DF44AD98D4CFDC7448D00D59B9BEnooslzsmx1zenit_-- --===============0761350925== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- ptxdist mailing list ptxdist@pengutronix.de --===============0761350925==--