From: Romain Perier <romain.perier@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3 6/6] package/amd-catalyst-driver: Add AMD proprietary graphic stack support
Date: Wed, 27 Jul 2016 10:15:59 +0200 [thread overview]
Message-ID: <57986DBF.5040608@free-electrons.com> (raw)
In-Reply-To: <20160726203918.GE5925@free.fr>
Hello,
Le 26/07/2016 22:39, Yann E. MORIN a ?crit :
>> + help
>> + Installs the OpenCL binary blobs and the ICD profile
>> + for GPGPU computing.
>> +
>> +config BR2_PACKAGE_AMD_CATALYST_DRIVER_MODULE_LICENSE_GPL
>> + bool "fglrx module export GPL license"
>> + help
>> + If enabled, you accept that the driver will be patched locally
>> + in order to export itself as a GPL module to the Linux kernel.
>> + This is required as the module uses some GPL-compatible
>> + symbols. Without this fix, the module won't build properly
>> + because the Linux kernel build system does not allow to link a
>> + non GPL module, if this one tries to use GPL-only symbols. It
>> + is worth mentioning that from a legal point of view, you are
>> + most likely not allowed to redistribute such a kernel module,
>> + in a pre-built form. The author and the buildroot project
>> + disclaim any responsibility in case these terms are not
>> + respected.
>
> OK, so this one is definitely a NAK from me. This is definitely not
> acceptable. We can not go like that and just change the licensing
> information: this is legally questionable that we even provide such an
> option, even with the legal blurb you wrote, which is by far not
> explicit enough either, but I won't comment on it because I argue that
> this option should jsut go away with the code it protects.
>
> Instead I suggest the following:
>
> config BR2_PACKAGE_AMD_CATALYST_DRIVER_MODULE
> bool "fglrx kernel module"
> depends on BR2_KERNEL_LINUX
> depends on whatever is needed
> help
> The kernel driver will build properly, but fail to work at
> runtime because it uses Linux kernel symbols exposed only to
> GPL-licensed modules.
The problem is that without this local fix, the module *does not* build.
Because the link phase does not pass. This is why I proposed something
like that. So, either you merge a package containing a module which
won't build or you ask the user to patch manually his kernel...
Romain,
--
Romain Perier, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
next prev parent reply other threads:[~2016-07-27 8:15 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-26 8:21 [Buildroot] [PATCH v3 0/6] Add support for AMD Catalyst graphics driver Romain Perier
2016-07-26 8:21 ` [Buildroot] [PATCH v3 1/6] support/download: Add support to pass options directly to downloaders Romain Perier
2016-07-26 16:26 ` Yann E. MORIN
2016-07-26 8:21 ` [Buildroot] [PATCH v3 2/6] pkg-download: Allow packages to pass generic options to download methods Romain Perier
2016-07-26 16:28 ` Yann E. MORIN
2016-07-26 8:21 ` [Buildroot] [PATCH v3 3/6] docs/manual: Document the variable $(PKG)_DL_OPTS Romain Perier
2016-07-26 16:29 ` Yann E. MORIN
2016-07-26 8:21 ` [Buildroot] [PATCH v3 4/6] package/xserver_xorg-server: add version 1.17.4 Romain Perier
2016-07-26 8:21 ` [Buildroot] [PATCH v3 5/6] qt: Add option for enabling the accessibility support Romain Perier
2016-07-26 8:21 ` [Buildroot] [PATCH v3 6/6] package/amd-catalyst-driver: Add AMD proprietary graphic stack support Romain Perier
2016-07-26 20:39 ` Yann E. MORIN
2016-07-27 7:35 ` Thomas Petazzoni
2016-07-28 16:12 ` Yann E. MORIN
2016-08-05 10:28 ` Thomas Petazzoni
2016-07-27 8:15 ` Romain Perier [this message]
2016-07-27 16:24 ` Yann E. MORIN
2016-07-27 19:36 ` Thomas Petazzoni
2016-07-27 22:08 ` Yann E. MORIN
2016-07-26 9:28 ` [Buildroot] [PATCH v3 0/6] Add support for AMD Catalyst graphics driver Thomas Petazzoni
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=57986DBF.5040608@free-electrons.com \
--to=romain.perier@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.