From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2] kmscube: Add new package
Date: Mon, 13 Feb 2017 22:31:17 +0100 [thread overview]
Message-ID: <20170213223117.0125c14e@free-electrons.com> (raw)
In-Reply-To: <1487011784-24966-1-git-send-email-festevam@gmail.com>
Hello,
On Mon, 13 Feb 2017 16:49:44 -0200, Fabio Estevam wrote:
> Add support for kmscube application, which is helpful for testing
> kms/drm drivers.
>
> Signed-off-by: Fabio Estevam <festevam@gmail.com>
Thanks for this patch. I have a few comments, see below.
> diff --git a/package/kmscube/Config.in b/package/kmscube/Config.in
> new file mode 100644
> index 0000000..b3c3c8d
> --- /dev/null
> +++ b/package/kmscube/Config.in
> @@ -0,0 +1,5 @@
> +config BR2_PACKAGE_KMSCUBE
> + bool "kmscube"
> + depends on BR2_PACKAGE_MESA3D && BR2_PACKAGE_LIBDRM
kmscube apparently wants EGL and OpenGL ES:
PKG_CHECK_MODULES(EGL, egl)
PKG_CHECK_MODULES(GLES2, glesv2)
so probably this needs to be taken into account here by using the
BR2_PACKAGE_MESA3D_OPENGL_EGL and BR2_PACKAGE_MESA3D_OPENGL_ES symbols.
> + help
> + kmscube is an application to test kms/drm drivers.
Trailing space at the end of the line + missing upstream project URL.
> diff --git a/package/kmscube/kmscube.mk b/package/kmscube/kmscube.mk
> new file mode 100644
> index 0000000..267fffa
> --- /dev/null
> +++ b/package/kmscube/kmscube.mk
> @@ -0,0 +1,14 @@
Missing usual comment header.
> +KMSCUBE_VERSION = 8c6a20901f95e1b465bbca127f9d47fcfb8762e6
> +KMSCUBE_SITE = $(call github,robclark,kmscube,$(KMSCUBE_VERSION))
> +KMSCUBE_DEPENDENCIES = host-pkgconf libdrm mesa3d
> +KMSCUBE_INSTALL_TARGET = YES
This is useless, as it is the default.
> +KMSCUBE_AUTORECONF = YES
> +KMSCUBE_INSTALL_STAGING = Y
This line doesn't do anything because 'Y' is not a valid value. And
anyway, there's most likely no point in installing kmscube to staging.
License information is also missing, and you forgot to add yourself to
the DEVELOPERS file (should be done in the same patch).
Could you address those issues and submit an updated version?
Thanks a lot!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
next prev parent reply other threads:[~2017-02-13 21:31 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-13 18:49 [Buildroot] [PATCH v2] kmscube: Add new package Fabio Estevam
2017-02-13 20:34 ` Gary Bisson
2017-02-13 21:31 ` Thomas Petazzoni [this message]
2017-02-13 22:03 ` Fabio Estevam
2017-02-13 23:43 ` Fabio Estevam
2017-02-14 8:18 ` Thomas Petazzoni
2017-02-14 9:24 ` Maxime Ripard
2017-02-14 10:23 ` Thomas Petazzoni
2017-02-15 8:55 ` Maxime Ripard
2017-02-15 9:04 ` Thomas Petazzoni
2017-02-14 12:30 ` Fabio Estevam
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=20170213223117.0125c14e@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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