From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Date: Mon, 14 Nov 2011 11:59:45 +0100 From: Robert Schwebel Message-ID: <20111114105945.GH28900@pengutronix.de> References: <4EC0EA8C.3010902@erwinrol.com> <20111114103552.GF28900@pengutronix.de> <4EC0F3C5.9070403@erwinrol.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <4EC0F3C5.9070403@erwinrol.com> Subject: Re: [ptxdist] mono 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="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: Erwin Rol Cc: ptxdist@pengutronix.de On Mon, Nov 14, 2011 at 11:56:05AM +0100, Erwin Rol wrote: > Yeah target is fine. And yes they are needed on the host to build > libraries for the target. > > >If you have pre/post scripts, you should use $DESTDIR; we set this > >variable while installing the opkg packages and it is not set on > >runtime. > > Don't really understand how this will solve the problem ? The *.in > versions of the scripts look like this. So they are created at > "automake-time" > > less mcs.in > #!/bin/sh > exec @bindir@/mono $MONO_OPTIONS @mono_instdir@/2.0/mcs.exe > -lib:@mono_instdir@/2.0 -lib:@mono_instdir@/3.5 "$@" > > My idea was to add a $MONO_PREFIX environment variable to the > scripts and set that in the target build .make file. On the target > itself the MONO_PREFIX variable would be not set and the path would > be /usr/bin as expected. Hmm, I suppose you should discuss this with the Mono developers. I mean, if they agree on an acceptable solution, we can patch it into ptxdist. rsc -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de