From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Juergen Borleis Date: Tue, 23 Sep 2014 11:57:48 +0200 References: <916A03CCEB30DF44AD98D4CFDC7448D00D59B9BE@nooslzsmx1.zenitelcss.com> <201409230933.49889.jbe@pengutronix.de> <916A03CCEB30DF44AD98D4CFDC7448D00D59BA0A@nooslzsmx1.zenitelcss.com> In-Reply-To: <916A03CCEB30DF44AD98D4CFDC7448D00D59BA0A@nooslzsmx1.zenitelcss.com> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201409231157.48663.jbe@pengutronix.de> Subject: Re: [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: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Alan Martinovic Hi Alan, On Tuesday 23 September 2014 10:20:05 Alan Martinovic wrote: > $(STATEDIR)/libzxmlconfig.targetinstall: > @$(call targetinfo) > > @$(call install_init, libzxmlconfig) > @$(call install_fixup, libzxmlconfig,PRIORITY,optional) > @$(call install_fixup, libzxmlconfig,SECTION,base) > @$(call install_fixup, libzxmlconfig,AUTHOR,"<>") > @$(call install_fixup, libzxmlconfig,DESCRIPTION,missing) > > @$(call install_copy, libzxmlconfig, 0, 0, 0755, $(LIBZXMLCONFIG_SOURCE_= LOCAL)/libzxmlconfig.a, $(PTXDIST_WORKSPACE)/platform-turbine/sysroot-targe= t/usr/lib/libzxmlconfig.a) Don't do that! "install_copy" is for the target. What you are trying is for your build host and regularly done in the "install" stage! Provide a simple "install" stage in your package's Makefile PTXdist can cal= l. install: cp -v libzxmlconfig.a $(DESTDIR)/$(PREFIX)/lib/libzxmlconfig.a cp -v include/SipServerConfig.h $(DESTDIR)/$(PREFIX)/usr/include/SipServer= Config.h cp -v include/ZConfig_globals.h $(DESTDIR)/$(PREFIX)/include/ZConfig_globa= ls.h cp -v include/z_xml.h $(DESTDIR)/$(PREFIX)/include/z_xml.h When PTXdist will call your Makefile to install the files for further build= ing other sources, it provides the correct values for DESTDIR and PREFIX. Regards, Juergen -- = Pengutronix e.K. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0| Juergen Borleis =A0 =A0 =A0 =A0 =A0 =A0 | Industrial Linux Solutions =A0 =A0 =A0| http://www.pengutroni= x.de/ | -- = ptxdist mailing list ptxdist@pengutronix.de