linamh/app-emulation/opencbm/files/0.4.3_rc2/0004-Flatten-the-module-source-tree.patch

42 lines
1.1 KiB
Diff
Raw Normal View History

2017-11-10 12:02:18 +01:00
From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Bri=C3=A8re?= <fbriere@fbriere.net>
Date: Fri, 20 May 2011 12:50:53 -0400
Subject: Flatten the module source tree
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
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>
2017-11-10 12:02:18 +01:00
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
--