39 lines
1.1 KiB
Diff
39 lines
1.1 KiB
Diff
|
From: Frédéric Brière <fbriere@fbriere.net>
|
||
|
Subject: [PATCH] Flatten the module source tree
|
||
|
|
||
|
This allows flattening the module source tree in a simple src/ and
|
||
|
include/ directory pair, getting rid of all the LINUX/ stuff.
|
||
|
|
||
|
Signed-off-by: Frédéric Brière <fbriere@fbriere.net>
|
||
|
Forwarded: not-needed
|
||
|
|
||
|
---
|
||
|
sys/linux/LINUX/Makefile | 5 ++---
|
||
|
1 files changed, 2 insertions(+), 3 deletions(-)
|
||
|
|
||
|
diff --git a/sys/linux/LINUX/Makefile b/sys/linux/LINUX/Makefile
|
||
|
index 19a49a2..a4ef189 100644
|
||
|
--- a/sys/linux/LINUX/Makefile
|
||
|
+++ b/sys/linux/LINUX/Makefile
|
||
|
@@ -1,8 +1,7 @@
|
||
|
# $Id: Makefile,v 1.3.4.3 2007/11/11 16:57:25 strik Exp $
|
||
|
|
||
|
ifneq ($(KERNELRELEASE),)
|
||
|
-EXTRA_CFLAGS := $(CBM4LINUX_KERNEL_FLAGS) -I$(here)/../../include -I$(here)/../../include/LINUX
|
||
|
-ccflags-y += -I$(src)/../../include -I$(src)/../../include/LINUX
|
||
|
+ccflags-y += -I$(src)/../include
|
||
|
obj-m := cbm.o
|
||
|
cbm-objs := cbm_module.o
|
||
|
|
||
|
@@ -12,7 +11,7 @@ modules:
|
||
|
|
||
|
else
|
||
|
|
||
|
-include ../../LINUX/config.make
|
||
|
+include ../config.make
|
||
|
|
||
|
all: cbm.o
|
||
|
|
||
|
--
|
||
|
tg: (ec9570d..) debian/module_flatten (depends on: features/module_makefile)
|