[PATCH 2/5] UBUNTU: Add lenovo-sl-laptop as Ubuntu third-party drivers
Ike Panhc
ike.pan at canonical.com
Mon Apr 20 14:06:21 UTC 2009
Ignore: yes
Signed-off-by: Ike Panhc <ike.pan at canonical.com>
---
ubuntu/Kconfig | 1 +
ubuntu/Makefile | 1 +
ubuntu/lenovo-sl-laptop/Kconfig | 5 +++++
ubuntu/lenovo-sl-laptop/Makefile | 11 +----------
4 files changed, 8 insertions(+), 10 deletions(-)
create mode 100644 ubuntu/lenovo-sl-laptop/Kconfig
diff --git a/ubuntu/Kconfig b/ubuntu/Kconfig
index 002b639..27e14c3 100644
--- a/ubuntu/Kconfig
+++ b/ubuntu/Kconfig
@@ -11,5 +11,6 @@ source "ubuntu/misc/Kconfig"
source "ubuntu/rfkill/Kconfig"
source "ubuntu/gfs/Kconfig"
source "ubuntu/tlsup/Kconfig"
+source "ubuntu/lenovo-sl-laptop/Kconfig"
endmenu
diff --git a/ubuntu/Makefile b/ubuntu/Makefile
index cb14d90..d84aa80 100644
--- a/ubuntu/Makefile
+++ b/ubuntu/Makefile
@@ -11,6 +11,7 @@ obj-$(CONFIG_NDISWRAPPER) += ndiswrapper/
obj-$(CONFIG_TLSF) += compcache/
obj-$(CONFIG_GFS_FS) += gfs/
obj-$(CONFIG_TLSUP) += tlsup/
+obj-$(CONFIG_LENOVO_SL_LAPTOP) += lenovo-sl-laptop/
obj-m += misc/ rfkill/
diff --git a/ubuntu/lenovo-sl-laptop/Kconfig b/ubuntu/lenovo-sl-laptop/Kconfig
new file mode 100644
index 0000000..547754e
--- /dev/null
+++ b/ubuntu/lenovo-sl-laptop/Kconfig
@@ -0,0 +1,5 @@
+config LENOVO_SL_LAPTOP
+ tristate "Lenovo SL Thinkpads support"
+ depends on X86
+ default m
+
diff --git a/ubuntu/lenovo-sl-laptop/Makefile b/ubuntu/lenovo-sl-laptop/Makefile
index 921acb1..be191e5 100644
--- a/ubuntu/lenovo-sl-laptop/Makefile
+++ b/ubuntu/lenovo-sl-laptop/Makefile
@@ -1,11 +1,2 @@
-obj-m := lenovo-sl-laptop.o
-KVERSION = $(shell uname -r)
-all:
- $(MAKE) -C /lib/modules/$(KVERSION)/build M=$(PWD) modules
-
-clean:
- $(MAKE) -C /lib/modules/$(KVERSION)/build M=$(PWD) clean
-
-module:
- $(MAKE) -C /usr/src/linux M=$(PWD) modules
+obj-$(CONFIG_LENOVO_SL_LAPTOP) := lenovo-sl-laptop.o
--
1.5.6.3
More information about the kernel-team
mailing list