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

Stefan Wold ratler at lunar-linux.org
Sun Jul 7 11:31:18 CEST 2013


v4hn, please review these changes for NVIDIA:
https://github.com/lunar-linux/moonbase-xorg/pull/159

On Sat, Jul 6, 2013 at 8:26 PM, v4hn <v4hn at lunar-linux.org> wrote:
> 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
>
> _______________________________________________
> Lunar-dev mailing list
> Lunar-dev at lunar-linux.org
> http://foo-projects.org/mailman/listinfo/lunar-dev


More information about the Lunar-dev mailing list