From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 4/4] package/nvidia-driver: update version
Date: Tue, 20 Sep 2016 21:17:50 +0200 [thread overview]
Message-ID: <20160920211750.25ff9719@free-electrons.com> (raw)
In-Reply-To: <0addd1f1dd9b75f20f96877f05d8bdcc98b44533.1471968455.git.yann.morin.1998@free.fr>
Hello,
On Tue, 23 Aug 2016 18:26:35 +0200, Yann E. MORIN wrote:
> This new version brings in support for egl-wayland, the EGL extensions
> aimed at making it possible to implement Wayland servers and clients. As
> such, nvidia-driver becoms the seconf EGL implementation in Buildroot
> that can act as a libegl provider with egl-wayland extensions.
>
> In this version, it becomes possible to use our kernel-module infra,
> with just a little few minor tricks: we need just specify the Linux
> source and build trees (they are the same for us) and the list of
> modules to build. We still need a little patch against the Kbuild files.
>
> We also get rid of the LIBS_NO_VERSION trick and always use complete
> filenames, as more libs are now packaged with different version in their
> filenames, and even some with no version at all.
>
> When installing libs, we switch from a shell loop to a make foreach
> loop, which is easier to handle. It has the side-effect (and advantage)
> of displyaing the install commands for each library, rather than a
> single biggish one, so it is easier to see what goes wrong. This also
> means that an error in each phase of the install (the copy of the files
> then each symlink) can be caught more easily (it was not previously):
> each sequence is now its own make command; we need not use "|| exit 1"
> after each command, even in a if block, because the if blocks returns
> with the exit code of the last command in it; e.g. if an ln fails, the
> if-block in which it is enclosed will return the exit code of ln, and
> make will catch it.
>
> Similarly for the X driver modules and each of the programs installed:
> we now can catch any failure in the isntall of those.
>
> All of this somewhat simplifies the .mk. It is a little bit longer, but
> the structure is saner and more explicit.
>
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> ---
> package/nvidia-driver/0001-use-LDFLAGS.patch | 48 +++++++
> package/nvidia-driver/Config.in | 6 +-
> package/nvidia-driver/nvidia-driver.hash | 4 +-
> package/nvidia-driver/nvidia-driver.mk | 206 ++++++++++++++-------------
> 4 files changed, 162 insertions(+), 102 deletions(-)
> create mode 100644 package/nvidia-driver/0001-use-LDFLAGS.patch
I just fixed a few minor typos in the commit log, and applied. Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
prev parent reply other threads:[~2016-09-20 19:17 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-23 16:26 [Buildroot] [PATCH 0/4] package/libegl: introduce egl-wayland (branch yem/egl-wayland) Yann E. MORIN
2016-08-23 16:26 ` [Buildroot] [PATCH 1/4] package/libegl: add option for wayland extensions Yann E. MORIN
2016-08-23 20:02 ` Thomas Petazzoni
2016-08-23 21:43 ` Yann E. MORIN
2016-08-23 21:58 ` Thomas Petazzoni
2016-08-23 22:06 ` Yann E. MORIN
2016-08-24 17:11 ` Thomas Petazzoni
2016-08-23 16:26 ` [Buildroot] [PATCH 2/4] package/mesa3d: also implements the EGL " Yann E. MORIN
2016-08-23 20:02 ` Thomas Petazzoni
2016-08-23 16:26 ` [Buildroot] [PATCH 3/4] package/libgtk3: needs OpenGL-EGL/wayland Yann E. MORIN
2016-08-23 20:02 ` Thomas Petazzoni
2016-08-23 16:26 ` [Buildroot] [PATCH 4/4] package/nvidia-driver: update version Yann E. MORIN
2016-09-20 19:17 ` Thomas Petazzoni [this message]
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=20160920211750.25ff9719@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