mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] use waf in ptxdist
@ 2017-01-30 12:13 Alejandro Vázquez
  2017-01-30 15:05 ` Markus Niebel
  0 siblings, 1 reply; 4+ messages in thread
From: Alejandro Vázquez @ 2017-01-30 12:13 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 151 bytes --]

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!

[-- Attachment #1.2: Type: text/html, Size: 235 bytes --]

[-- Attachment #2: Type: text/plain, Size: 91 bytes --]

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] use waf in ptxdist
  2017-01-30 12:13 [ptxdist] use waf in ptxdist Alejandro Vázquez
@ 2017-01-30 15:05 ` Markus Niebel
  2017-01-31 12:33   ` Alejandro Vázquez
  0 siblings, 1 reply; 4+ messages in thread
From: Markus Niebel @ 2017-01-30 15:05 UTC (permalink / raw)
  To: ptxdist

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] use waf in ptxdist
  2017-01-30 15:05 ` Markus Niebel
@ 2017-01-31 12:33   ` Alejandro Vázquez
  2017-01-31 18:18     ` Markus Niebel
  0 siblings, 1 reply; 4+ messages in thread
From: Alejandro Vázquez @ 2017-01-31 12:33 UTC (permalink / raw)
  To: ptxdist


[-- 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ptxdist] use waf in ptxdist
  2017-01-31 12:33   ` Alejandro Vázquez
@ 2017-01-31 18:18     ` Markus Niebel
  0 siblings, 0 replies; 4+ messages in thread
From: Markus Niebel @ 2017-01-31 18:18 UTC (permalink / raw)
  To: ptxdist

Hi Alejandro,

this library comes from Freescale / NXP. as i remember, they have an
EULA which has to be accepted. You have to look inside the FSL yocto BSP
(or maybe buildroot has this packaged also?) for the URL of the correct
version. You can define your own ptxdist package for the lib and have
libimxvpuapi select this package.

I think the spirit of ptxdist is to avoid such packages - or is there a
need to have them in ptxdist?

Markus

Am Dienstag, den 31.01.2017, 13:33 +0100 schrieb Alejandro Vázquez:
> 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
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de



_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-01-31 18:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-30 12:13 [ptxdist] use waf in ptxdist Alejandro Vázquez
2017-01-30 15:05 ` Markus Niebel
2017-01-31 12:33   ` Alejandro Vázquez
2017-01-31 18:18     ` Markus Niebel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox