From: "Alejandro Vázquez" <vazlup@gmail.com>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] use waf in ptxdist
Date: Tue, 31 Jan 2017 13:33:02 +0100 [thread overview]
Message-ID: <CAEt18EUNhuMGFG8osDfeYJRiqGLNQY_dGsEGYutiBVc0B=0Gyg@mail.gmail.com> (raw)
In-Reply-To: <1485788750.3287.2.camel@niebel-ws>
[-- Attachment #1.1: Type: text/plain, Size: 2648 bytes --]
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 <niebelm@tqsc.de>:
> Hello,
>
> should be working this way (just copied from an older project):
>
> 8<-----------------------------------------------
>
> LIBIMXVPUAPI_CONF_TOOL := NO
>
> LIBIMXVPUAPI_CONF_OPT := \
> --prefix="/usr"
> --kernel-headers="$(KERNEL_HEADERS_INCLUDE_DIR)"
>
> LIBIMXVPUAPI_CONF_OPT += \
>
> LIBIMXVPUAPI_ENV := \
> $(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=$(LIBIMXVPUAPI_PKGDIR) install
> @$(call touch)
>
> 8<-----------------------------------------------
>
>
> Am Montag, den 30.01.2017, 13:13 +0100 schrieb Alejandro Vázquez:
> > 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
[-- Attachment #1.2: Type: text/html, Size: 3610 bytes --]
[-- Attachment #2: Type: text/plain, Size: 91 bytes --]
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2017-01-31 12:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-30 12:13 Alejandro Vázquez
2017-01-30 15:05 ` Markus Niebel
2017-01-31 12:33 ` Alejandro Vázquez [this message]
2017-01-31 18:18 ` Markus Niebel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAEt18EUNhuMGFG8osDfeYJRiqGLNQY_dGsEGYutiBVc0B=0Gyg@mail.gmail.com' \
--to=vazlup@gmail.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox