comparison maintainers_add_add_rathaxes_lkm_in_use_rathaxes_cmake_file.patch @ 15:74d9d18d4732

WIP on the ethernet part of the LKM sample
author Louis Opter <louis@lse.epitech.net>
date Fri, 06 Jan 2012 22:46:33 +0100
parents 5b128dbd2c17
children
comparison
equal deleted inserted replaced
14:4aac69287060 15:74d9d18d4732
1 # HG changeset patch 1 # HG changeset patch
2 # Parent d2807f4a86fdd8e40cf6ee1a5f19fefd1d3fccae 2 # Parent dd92091de0edd583c8dd1ff884b5ca5fcd080c3d
3 maintainers: add the equivalent of ADD_RATHAXES_EXECUTABLE for kernel modules, only support Linux for now 3 maintainers: add the equivalent of ADD_RATHAXES_EXECUTABLE for kernel modules, only support Linux for now
4 4
5 diff --git a/maintainers/CMakeScripts/Templates/MakefileLKM.in b/maintainers/CMakeScripts/Templates/MakefileLKM.in 5 diff --git a/maintainers/CMakeScripts/Templates/MakefileLKM.in b/maintainers/CMakeScripts/Templates/MakefileLKM.in
6 new file mode 100644 6 new file mode 100644
7 --- /dev/null 7 --- /dev/null
8 +++ b/maintainers/CMakeScripts/Templates/MakefileLKM.in 8 +++ b/maintainers/CMakeScripts/Templates/MakefileLKM.in
9 @@ -0,0 +1,12 @@ 9 @@ -0,0 +1,12 @@
10 +KDIR = /lib/modules/$(shell uname -r)/build 10 +KDIR = /lib/modules/$(shell uname -r)/build
11 +obj-m := @LKM_OBJECTS@ 11 +obj-m := @LKM_OBJECTS@
12 + 12 +
13 +all: 13 +all:
14 + $(MAKE) -C $(KDIR) SUBDIRS=$(shell pwd) modules 14 + $(MAKE) -C $(KDIR) SUBDIRS=$(shell pwd) modules
15 + 15 +
16 +install: 16 +install: