Skip to content

Commit

Permalink
Merge pull request #24 from StollD/kconfig
Browse files Browse the repository at this point in the history
Improvements for building in-tree
  • Loading branch information
quo authored Jan 22, 2023
2 parents e1c3978 + 0d5b322 commit 55803a2
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ default:
mkdir -p $(DEST)
find $(DEST)/ -type l -exec rm {} +
ln -sr src/* $(DEST)/
$(MAKE) -C $(KDIR) M=$(abspath $(DEST))
$(MAKE) -C $(KDIR) M=$(abspath $(DEST)) CONFIG_HID_ITHC=m

install:
$(MAKE) -C $(KDIR) M=$(abspath $(DEST)) modules_install
$(MAKE) -C $(KDIR) M=$(abspath $(DEST)) CONFIG_HID_ITHC=m modules_install
depmod -a
sync

Expand Down
2 changes: 1 addition & 1 deletion src/Kbuild
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
obj-m := ithc.o
obj-$(CONFIG_HID_ITHC) := ithc.o

ithc-objs := ithc-main.o ithc-regs.o ithc-dma.o ithc-debug.o

Expand Down
12 changes: 12 additions & 0 deletions src/Kconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
config HID_ITHC
tristate "Intel Touch Host Controller"
depends on PCI
depends on HID
help
Say Y here if your system has a touchscreen using Intels
Touch Host Controller (ITHC / IPTS) technology.

If unsure say N.

To compile this driver as a module, choose M here: the
module will be called ithc.

0 comments on commit 55803a2

Please sign in to comment.