[ptxdist] audit.make file
Hi, This is Prabhakar, working with ptxdist-2013.01.3. I need to add audit package and its dependencies to my target board. Could you please help us to compile audit package with ptxdist as current ptxdist-2013.01.0 does not have audit.make file. Could you please let me know where should I get audit source code audit.make files from, which are compatible to ptxdist-2013.01.0? Thank you. Regards, Prabhakar. ___ ptxdist mailing list ptxdist@pengutronix.de
Re: [ptxdist] [PATCH v4 3/3] gpsd: version bump 2.39 -> 3.18.1
Hi Alex, the state is that we do not use python bindings and I failed to do it in my spare time. The version bump of gpsd was part of a research in a case were we had problems with GPS, but it turns out that the problem was some where else and we decided to stick with the old version. If you use python on the target, I guess you will see the problems Michael reported and without python it should work. Now to your problem. HOST_PYTHON_SCONS selects HOST_SYSTEM_PYTHON to build. It is selected by ALLYES, so it seems to build on pengus all yes build. It seems that something changed here. On my disk with the version from January, there is no link unter sysroot-host/bin, too. Please ensure that https://git.pengutronix.de/cgit/ptxdist/commit/?id=d7d7ca50cdc0e786bc84929231c2ff0ddde1e5fa is applied, which allows to build python packages with system-python. Regards Denis Am Mittwoch, den 17.04.2019, 12:38 +0200 schrieb Alexander Dahl: > 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 +, 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 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. - Informationen zum Datenschutz, insbesondere zu Ihren Rechten, erhalten Sie unter https://www.diehl.com/group/de/transparenz-und-informationspflichten/ The contents of the above mentioned e-mail is not legally binding. This e-mail contains confidential
Re: [ptxdist] [PATCH v4 3/3] gpsd: version bump 2.39 -> 3.18.1
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 +, 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
[ptxdist] [PATCH 1/2] libp11: update engines directroy for openssl 1.1
Openssl 1.1 changes the default engines search directory to /usr/lib/engines-1.1, change libp11 accordingly. Signed-off-by: Rouven Czerwinski --- rules/libp11.make | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rules/libp11.make b/rules/libp11.make index 6a7c39e69..37eb8b60b 100644 --- a/rules/libp11.make +++ b/rules/libp11.make @@ -34,7 +34,7 @@ LIBP11_CONF_OPT := \ --disable-strict \ --disable-pedantic \ --disable-api-doc \ - --with-enginesdir=/usr/lib/engines \ + --with-enginesdir=/usr/lib/engines-1.1 \ --with-pkcs11-module=$(call ptx/ifdef,PTXCONF_LIBP11_PROXY_MODULE,p11-kit-proxy.so) $(STATEDIR)/libp11.targetinstall: @@ -48,10 +48,10 @@ $(STATEDIR)/libp11.targetinstall: @$(call install_lib, libp11, 0, 0, 0644, libp11) @$(call install_copy, libp11, 0, 0, 0644, -, \ - /usr/lib/engines/pkcs11.so) + /usr/lib/engines-1.1/pkcs11.so) @$(call install_link, libp11, pkcs11.so, \ - /usr/lib/engines/libpkcs11.so) + /usr/lib/engines-1.1/libpkcs11.so) @$(call install_finish, libp11) -- 2.21.0 ___ ptxdist mailing list ptxdist@pengutronix.de
[ptxdist] [PATCH] linux-serial-test: add new package
linux-serial-test is a small utility to test whether the serial port and its driver are working correctly. Signed-off-by: Jan Luebbe --- rules/linux-serial-test.in | 10 rules/linux-serial-test.make | 56 2 files changed, 66 insertions(+) create mode 100644 rules/linux-serial-test.in create mode 100644 rules/linux-serial-test.make diff --git a/rules/linux-serial-test.in b/rules/linux-serial-test.in new file mode 100644 index ..3f44343340d3 --- /dev/null +++ b/rules/linux-serial-test.in @@ -0,0 +1,10 @@ +## SECTION=test_suites + +config LINUX_SERIAL_TEST + tristate + select HOST_CMAKE + prompt "linux-serial-test" + help + Test application for serial ports under Linux. + +# vim: syntax=kconfig diff --git a/rules/linux-serial-test.make b/rules/linux-serial-test.make new file mode 100644 index ..255bc05aa4d1 --- /dev/null +++ b/rules/linux-serial-test.make @@ -0,0 +1,56 @@ +# -*-makefile-*- +# +# Copyright (C) 2019 by Jan Luebbe +# +# See CREDITS for details about who has contributed to this project. +# +# For further information about the PTXdist project and license conditions +# see the README file. +# + +# +# We provide this package +# +PACKAGES-$(PTXCONF_LINUX_SERIAL_TEST) += linux-serial-test + +# +# Paths and names +# +LINUX_SERIAL_TEST_VERSION := 2018-09-13-gaed2a6e78160 +LINUX_SERIAL_TEST_MD5 := 6aa8351c219b585a8cccecfe74dd964e +LINUX_SERIAL_TEST := linux-serial-test-$(LINUX_SERIAL_TEST_VERSION) +LINUX_SERIAL_TEST_SUFFIX := tar.gz +LINUX_SERIAL_TEST_URL := https://github.com/cbrake/linux-serial-test/archive/$(LINUX_SERIAL_TEST_VERSION).tar.gz +LINUX_SERIAL_TEST_SOURCE := $(SRCDIR)/$(LINUX_SERIAL_TEST).$(LINUX_SERIAL_TEST_SUFFIX) +LINUX_SERIAL_TEST_DIR := $(BUILDDIR)/$(LINUX_SERIAL_TEST) +LINUX_SERIAL_TEST_LICENSE := MIT + +# +# Prepare +# + +# +# cmake +# +LINUX_SERIAL_TEST_CONF_TOOL:= cmake + +# +# Target-Install +# + +$(STATEDIR)/linux-serial-test.targetinstall: + @$(call targetinfo) + + @$(call install_init, linux-serial-test) + @$(call install_fixup, linux-serial-test,PRIORITY,optional) + @$(call install_fixup, linux-serial-test,SECTION,base) + @$(call install_fixup, linux-serial-test,AUTHOR,"Jan Luebbe ") + @$(call install_fixup, linux-serial-test,DESCRIPTION,missing) + + @$(call install_copy, linux-serial-test, 0, 0, 0755, -, /usr/bin/linux-serial-test) + + @$(call install_finish, linux-serial-test) + + @$(call touch) + +# vim: syntax=make -- 2.11.0 ___ ptxdist mailing list ptxdist@pengutronix.de