Hello Denis,

could you please give an update on the state of this patch? We are currently 
experimenting with gpsd and could help you testing.

One thing I noticed, when just adding 'select HOST_PYTHON_SCONS' to an 
otherwise clean package, it seems some dependency to host python is not set:

This is from a ptxdist 2018.09.0 based BSP, where I just copied rules/host-
python-scons.{in,make} to:

---------------------------------
target: host-python-scons.compile
---------------------------------

environment: line 2: /home/adahl/Work/bsp/***/platform-v7a/sysroot-host/bin/
python2.7: No such file or directory
/usr/local/lib/ptxdist-2018.09.0/rules/post/ptxd_make_world_compile.make:21: 
recipe for target '/home/adahl/Work/bsp/***/platform-v7a/state/host-python-
scons.compile' failed

Greets
Alex

Am Dienstag, 5. Februar 2019, 09:46:37 CEST schrieb Denis OSTERLAND:
> Hi Michael,
> 
> thanks for your input.
> 
> Am Dienstag, den 05.02.2019, 10:07 +0100 schrieb Michael Olbrich:
> 
> > On Mon, Jan 21, 2019 at 12:01:21PM +0000, Denis OSTERLAND wrote:
> > 
> > > 
> > >
> > > +
> > >  GPSD_ENV = \
> > >   $(CROSS_ENV) \
> > >   PYTHON=$(CROSS_PYTHON)
> > 
> > You need to add PATH=$(CROSS_PATH) to the env. Otherwise pkg-config does
> > not work correctly.
> 
> okay. I was pretty sure that the defines for pkg-config were part of
> CROSS_ENV.
 
> 
> > 
> > Also, the python here is not picked up correctly. You need to set
> > target_python and python_libdir below to properly install the python
> > files.
> I will try it.
> 
> 
> > 
> > And targetinstall fails because /usr/bin/gpsflash is not found. I think
> > this war removed upstream.
> 
> So let´s remove it, too. ;-)
> 
> 
> > 
> > Michael
> 
> 
> Regards Denis
> 
> 
> Diehl Connectivity Solutions GmbH
> Geschäftsführung: Horst Leonberger
> Sitz der Gesellschaft: Nürnberg - Registergericht: Amtsgericht
> Nürnberg: HRB 32315
> ____________________________________________________________________________
> _______________________
 
> Der Inhalt der vorstehenden E-Mail ist nicht rechtlich bindend. Diese E-Mail
> enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen.
> Informieren Sie uns bitte, wenn Sie diese E-Mail faelschlicherweise
> erhalten haben. Bitte loeschen Sie in diesem Fall die Nachricht. Jede
> unerlaubte Form der Reproduktion, Bekanntgabe, Aenderung, Verteilung
> und/oder Publikation dieser E-Mail ist strengstens untersagt. The contents
> of the above mentioned e-mail is not legally binding. This e-mail contains
> confidential and/or legally protected information. Please inform us if you
> have received this e-mail by mistake and delete it in such a case. Each
> unauthorized reproduction, disclosure, alteration, distribution and/or
> publication of this e-mail is strictly prohibited.
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de



_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to