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