Mercurial > pt1.oyama
annotate driver/Makefile @ 68:440c13a0030b
added the terrestrial channel list for Nagoya region. contributed by Hiroshi Someya.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Sat, 24 Oct 2009 20:40:11 +0900 |
parents | 7a03d5185067 |
children | c9b41c438a93 |
rev | line source |
---|---|
36 | 1 TARGET:= pt1_drv.ko |
2 | |
3 all: ${TARGET} | |
4 | |
5 pt1_drv.ko: pt1_pci.c pt1_i2c.c pt1_tuner.c pt1_tuner_data.c | |
6 make -C /lib/modules/`uname -r`/build M=`pwd` V=1 modules | |
7 | |
8 clean: | |
9 make -C /lib/modules/`uname -r`/build M=`pwd` V=1 clean | |
10 | |
45
05424917a022
add a rule to install an udev rule file
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
36
diff
changeset
|
11 obj-m := pt1_drv.o |
36 | 12 |
13 pt1_drv-objs := pt1_pci.o pt1_i2c.o pt1_tuner.o pt1_tuner_data.o | |
14 | |
15 clean-files := *.o *.ko *.mod.[co] *~ | |
16 | |
17 install: $(TARGET) | |
18 install -m 644 $(TARGET) /lib/modules/`uname -r`/kernel/drivers/video | |
45
05424917a022
add a rule to install an udev rule file
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
36
diff
changeset
|
19 if [ -d /etc/udev/rules.d -a ! -f /etc/udev/rules.d/99-pt1.rules ] ; then \ |
05424917a022
add a rule to install an udev rule file
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
36
diff
changeset
|
20 install -m 644 etc/99-pt1.rules /etc/udev/rules.d ; \ |
05424917a022
add a rule to install an udev rule file
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
36
diff
changeset
|
21 fi |
58 | 22 depmod -a |