[Lunar-commits] <moonbase-xorg> NVIDIA: x86_64 build fix with kernel >= 3.10

v4hn v4hn at lunar-linux.org
Sat Jul 6 20:26:35 CEST 2013


On Sat, Jul 06, 2013 at 08:20:20PM +0200, Stefan Wold wrote:
> commit 9581dbe591bd62bef15841f8ad7f0626cb058278
> Author: Stefan Wold <ratler at lunar-linux.org>
> Date: Sat, 06 Jul 2013 11:18:57 -0700
> URL: https://github.com/lunar-linux/moonbase-xorg/commit/9581dbe591bd62bef15841f8ad7f0626cb058278
[...]
> --- a/driver/NVIDIA/BUILD
> +++ b/driver/NVIDIA/BUILD
> @@ -1,4 +1,10 @@
>  (
> +
> +  # Fix for x86_64 with kernel >= 3.10
> +  if [[ $(arch) == x86_64 ]]; then
> +    patch_it $SOURCE5 1
> +  fi &&
> +

As a side note:

I would really like not to see any arch-tests in the build files themself.

There _is_ a mechanism in the lunar tools to handle different architectures
and thats BUILD.<arch> / PRE_BUILD.<arch>.

In these standard cases it probably makes sense to add something like:

PRE_BUILD.x86_64:
<<<
default_pre_build &&

patch_it $SOURCE5 1
>>>


v4hn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://foo-projects.org/pipermail/lunar-dev/attachments/20130706/f978aa59/attachment.bin>


More information about the Lunar-dev mailing list