From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-ua0-x242.google.com ([2607:f8b0:400c:c08::242]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1cYXcU-0006kp-90 for ptxdist@pengutronix.de; Tue, 31 Jan 2017 13:33:10 +0100 Received: by mail-ua0-x242.google.com with SMTP id 96so32878734uaq.2 for ; Tue, 31 Jan 2017 04:33:09 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <1485788750.3287.2.camel@niebel-ws> References: <1485788750.3287.2.camel@niebel-ws> From: =?UTF-8?Q?Alejandro_V=C3=A1zquez?= Date: Tue, 31 Jan 2017 13:33:02 +0100 Message-ID: Subject: Re: [ptxdist] use waf in ptxdist List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: multipart/mixed; boundary="===============0933124443==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de --===============0933124443== Content-Type: multipart/alternative; boundary=001a114b5b481d428f0547632260 --001a114b5b481d428f0547632260 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Markus!! I have other question. When I try configure this lib, I need imx-vpu 3.10.17 or newer. How do I install it through ptxdist so that it detects it and does not give me error? Thanks! 2017-01-30 16:05 GMT+01:00 Markus Niebel : > Hello, > > should be working this way (just copied from an older project): > > 8<----------------------------------------------- > > LIBIMXVPUAPI_CONF_TOOL :=3D NO > > LIBIMXVPUAPI_CONF_OPT :=3D \ > --prefix=3D"/usr" > --kernel-headers=3D"$(KERNEL_HEADERS_INCLUDE_DIR)" > > LIBIMXVPUAPI_CONF_OPT +=3D \ > > LIBIMXVPUAPI_ENV :=3D \ > $(CROSS_ENV) > > # > ------------------------------------------------------------ > ---------------- > # prepare > # > ------------------------------------------------------------ > ---------------- > $(STATEDIR)/libimxvpuapi.prepare: > @$(call targetinfo) > cd $(LIBIMXVPUAPI_DIR) && \ > $(LIBIMXVPUAPI_PATH) $(LIBIMXVPUAPI_ENV) \ > python2 ./waf configure $(LIBIMXVPUAPI_CONF_OPT) > @$(call touch) > > # > ------------------------------------------------------------ > ---------------- > # Compile > # > ------------------------------------------------------------ > ---------------- > $(STATEDIR)/libimxvpuapi.compile: > @$(call targetinfo) > cd $(LIBIMXVPUAPI_DIR) && \ > $(LIBIMXVPUAPI_PATH) $(LIBIMXVPUAPI_ENV) \ > python2 ./waf build -j 1 > @$(call touch) > > # > ------------------------------------------------------------ > ---------------- > # Install > # > ------------------------------------------------------------ > ---------------- > $(STATEDIR)/libimxvpuapi.install: > @$(call targetinfo) > rm -rf "$(LIBIMXVPUAPI_PKGDIR)" > mkdir -p "$(LIBIMXVPUAPI_PKGDIR)" > cd "$(LIBIMXVPUAPI_DIR)" && \ > $(LIBIMXVPUAPI_PATH) $(LIBIMXVPUAPI_ENV) \ > python2 ./waf --destdir=3D$(LIBIMXVPUAPI_PKGDIR) install > @$(call touch) > > 8<----------------------------------------------- > > > Am Montag, den 30.01.2017, 13:13 +0100 schrieb Alejandro V=C3=A1zquez: > > Hi all. > > I have found a project (libimxvpuapi) that is configured and built > > using waf. > > Is there any way I can build this project with ptxdist? > > > > > > > > Thanks! > > > > > > _______________________________________________ > > ptxdist mailing list > > ptxdist@pengutronix.de > > > > _______________________________________________ > ptxdist mailing list > ptxdist@pengutronix.de --001a114b5b481d428f0547632260 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi=C2=A0Markus!!
I have other question.
When I try configure this lib, I need imx-vpu 3.10.17 or newer.
How do I install it through ptxdist so that it detects it and does no= t give me error?

Thanks!



2017-01-= 30 16:05 GMT+01:00 Markus Niebel <niebelm@tqsc.de>:
Hello,

should be working this way (just copied from an older project):

8<-----------------------------------------------

LIBIMXVPUAPI_CONF_TOOL=C2=A0 :=3D NO

LIBIMXVPUAPI_CONF_OPT=C2=A0 =C2=A0:=3D \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 --prefix=3D"/usr"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 --kernel-headers=3D"$(KERNEL_HEADERS_= INCLUDE_DIR)"

LIBIMXVPUAPI_CONF_OPT +=3D \

LIBIMXVPUAPI_ENV=C2=A0 =C2=A0 =C2=A0 =C2=A0 :=3D \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 $(CROSS_ENV)

#
-----------------------------------------------------------------= -----------
# prepare
#
-----------------------------------------------------------------= -----------
$(STATEDIR)/libimxvpuapi.prepare:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 @$(call targetinfo)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 cd $(LIBIMXVPUAPI_DIR) && \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 $(LIBIMXVPUAPI_PATH= ) $(LIBIMXVPUAPI_ENV) \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 python2 ./waf confi= gure $(LIBIMXVPUAPI_CONF_OPT)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 @$(call touch)

#
-----------------------------------------------------------------= -----------
# Compile
#
-----------------------------------------------------------------= -----------
$(STATEDIR)/libimxvpuapi.compile:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 @$(call targetinfo)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 cd $(LIBIMXVPUAPI_DIR) && \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 $(LIBIMXVPUAPI_PATH= ) $(LIBIMXVPUAPI_ENV) \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 python2 ./waf build= -j 1
=C2=A0 =C2=A0 =C2=A0 =C2=A0 @$(call touch)

#
-----------------------------------------------------------------= -----------
# Install
#
-----------------------------------------------------------------= -----------
$(STATEDIR)/libimxvpuapi.install:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 @$(call targetinfo)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 rm -rf "$(LIBIMXVPUAPI_PKGDIR)"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 mkdir -p "$(LIBIMXVPUAPI_PKGDIR)"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 cd "$(LIBIMXVPUAPI_DIR)" && \=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 $(LIBIMXVPUAPI_PATH= ) $(LIBIMXVPUAPI_ENV) \
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 python2 ./waf --des= tdir=3D$(LIBIMXVPUAPI_PKGDIR) install
=C2=A0 =C2=A0 =C2=A0 =C2=A0 @$(call touch)

8<-----------------------------------------------


Am Montag, den 30.01.2017, 13:13 +0100 schrieb Alejandro V=C3=A1zquez:
> Hi all.
> I have found a project (libimxvpuapi) that is configured and built
> using waf.
> Is there any way I can build this project with ptxdist?
>
>
>
> Thanks!
>
>
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

--001a114b5b481d428f0547632260-- --===============0933124443== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KcHR4ZGlzdCBt YWlsaW5nIGxpc3QKcHR4ZGlzdEBwZW5ndXRyb25peC5kZQ== --===============0933124443==--