>From 9a0ef7982c3919308d5361f0e381472d1681fc01 Mon Sep 17 00:00:00 2001
From: Przemo Firszt <[email protected]>
Date: Mon, 19 Sep 2011 19:32:05 +0100
Subject: [PATCH] Force installing wacom-devel modules in the main kernel
tree

The modules that are built out of main kernel tree are installed in
"extra"
directory by default i.e. /lib/modules/$(kernel-number)/extra/. It makes
perfect sense for modules that doesn't exist in the main tree, but if a
module
is already in the main tree the new version from "extra" directory will
never
be loaded. This patch forces installing modules created by
wacom-devel/Makefile to the main tree. This patch will never be sent to
the
kernel mainline as it only affects wacom-devel Makefile.

Signed-off-by: Przemo Firszt <[email protected]>
---
 wacom-kernel/Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/wacom-kernel/Makefile b/wacom-kernel/Makefile
index 8b11cd4..ff19e44 100644
--- a/wacom-kernel/Makefile
+++ b/wacom-kernel/Makefile
@@ -111,8 +111,8 @@ BTPARMS := -C $(LINUXDIR) SUBDIRS="$(WACOMBTDIR)"
$(WACOMBTCFG)

 MYEXTRA_CFLAGS += $(EXTRA_CFLAGS)
 ifneq ($(MYEXTRA_CFLAGS),)
-MYPARMS += EXTRA_CFLAGS="$(MYEXTRA_CFLAGS)"
-BTPARMS += EXTRA_CFLAGS="$(MYEXTRA_CFLAGS)"
+MYPARMS += EXTRA_CFLAGS="$(MYEXTRA_CFLAGS)"
INSTALL_MOD_DIR=kernel/drivers/input/tablet
+BTPARMS += EXTRA_CFLAGS="$(MYEXTRA_CFLAGS)"
INSTALL_MOD_DIR=kernel/drivers/hid
 endif

 all: modules btmodules
--
1.7.6
>From 9a0ef7982c3919308d5361f0e381472d1681fc01 Mon Sep 17 00:00:00 2001
From: Przemo Firszt <[email protected]>
Date: Mon, 19 Sep 2011 19:32:05 +0100
Subject: [PATCH] Force installing wacom-devel modules in the main kernel tree

The modules that are built out of main kernel tree are installed in "extra"
directory by default i.e. /lib/modules/$(kernel-number)/extra/. It makes
perfect sense for modules that doesn't exist in the main tree, but if a module
is already in the main tree the new version from "extra" directory will never
be loaded. This patch forces installing modules created by
wacom-devel/Makefile to the main tree. This patch will never be sent to the
kernel mainline as it only affects wacom-devel Makefile.

Signed-off-by: Przemo Firszt <[email protected]>
---
 wacom-kernel/Makefile |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/wacom-kernel/Makefile b/wacom-kernel/Makefile
index 8b11cd4..ff19e44 100644
--- a/wacom-kernel/Makefile
+++ b/wacom-kernel/Makefile
@@ -111,8 +111,8 @@ BTPARMS := -C $(LINUXDIR) SUBDIRS="$(WACOMBTDIR)" $(WACOMBTCFG)

 MYEXTRA_CFLAGS += $(EXTRA_CFLAGS)
 ifneq ($(MYEXTRA_CFLAGS),)
-MYPARMS += EXTRA_CFLAGS="$(MYEXTRA_CFLAGS)"
-BTPARMS += EXTRA_CFLAGS="$(MYEXTRA_CFLAGS)"
+MYPARMS += EXTRA_CFLAGS="$(MYEXTRA_CFLAGS)" INSTALL_MOD_DIR=kernel/drivers/input/tablet
+BTPARMS += EXTRA_CFLAGS="$(MYEXTRA_CFLAGS)" INSTALL_MOD_DIR=kernel/drivers/hid
 endif

 all: modules btmodules
--
1.7.6
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Linuxwacom-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to