-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Greg Kroah-Hartman
committed
Mar 4, 2010
1 parent
f52a995
commit 7f4ef4c
Showing
5 changed files
with
14 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: bad9f950c011c50e8302b48244229c0250add9b4 | ||
refs/heads/master: 293c0db0dd2a7f1a8074645faa9d3a0294623002 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
config DT3155 | ||
tristate "DT3155 Digitizer support" | ||
depends on PCI | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,6 @@ | ||
|
||
ifeq ($(shell [[ `uname -r | cut -f 1,2 -d\.` < 2.6 ]] && echo pre2.6),pre2.6) | ||
# system with a pre 2.6 kernel _don't_ use kbuild. | ||
all: | ||
$(MAKE) -f Makefile.pre-2.6 | ||
|
||
clean: | ||
rm -f *.o | ||
|
||
else | ||
# systems with a 2.6 or later kernel use kbuild. | ||
ifneq ($(KERNELRELEASE),) | ||
obj-m := dt3155.o | ||
dt3155-objs := dt3155_drv.o dt3155_isr.o dt3155_io.o allocator.o | ||
|
||
else | ||
KDIR := /lib/modules/$(shell uname -r)/build | ||
PWD := $(shell pwd) | ||
|
||
all: | ||
$(MAKE) -C $(KDIR) M=$(PWD) modules | ||
|
||
clean: | ||
rm -rf *.o *.mod *.mod.c *.ko .dt3155* .allocator.o.cmd .tmp_versions | ||
|
||
endif | ||
endif | ||
obj-$(CONFIG_DT3155) += dt3155.o | ||
dt3155-objs := \ | ||
dt3155_drv.o \ | ||
dt3155_isr.o \ | ||
dt3155_io.o \ | ||
allocator.o |