Mercurial > archived > louis > epitech > mq > rathaxes
comparison maintainers_build_lkm_in_gnu99.patch @ 87:e9736ab70995
Add a couple of patches to the build system and WIP on the e1000 code architecture to implement the tranmission
author | Louis Opter <louis@lse.epitech.net> |
---|---|
date | Mon, 24 Sep 2012 09:13:15 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
86:c99e69966dd3 | 87:e9736ab70995 |
---|---|
1 # HG changeset patch | |
2 # Parent c53df313fbe2c5f971327b697cfcf506941b9b80 | |
3 maintainers: use the gnu99 "standard" to build Linux kernel modules | |
4 | |
5 diff --git a/maintainers/CMakeScripts/Templates/MakefileLKM.in b/maintainers/CMakeScripts/Templates/MakefileLKM.in | |
6 --- a/maintainers/CMakeScripts/Templates/MakefileLKM.in | |
7 +++ b/maintainers/CMakeScripts/Templates/MakefileLKM.in | |
8 @@ -1,6 +1,6 @@ | |
9 # Disable this "coding-style" warning (seriously, you have to compile with | |
10 # -pedantic to get it...) | |
11 -EXTRA_CFLAGS = -Wno-declaration-after-statement | |
12 +EXTRA_CFLAGS = -Wno-declaration-after-statement -std=gnu99 | |
13 | |
14 KDIR = /lib/modules/$(shell uname -r)/build | |
15 obj-m := @LKM_OBJECTS@ |