Mercurial > pt1.oyama
annotate driver/Makefile @ 79:3c2123189edf
improve PT2 support.
- update read check in initialization
- PT2 specific RAM phase initialization
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Mon, 07 Dec 2009 15:01:57 +0900 |
parents | c9b41c438a93 |
children | c6311b6efd9c |
rev | line source |
---|---|
36 | 1 TARGET:= pt1_drv.ko |
72
c9b41c438a93
hide misleading build message
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
58
diff
changeset
|
2 VERBOSITY = 0 |
36 | 3 |
4 all: ${TARGET} | |
5 | |
6 pt1_drv.ko: pt1_pci.c pt1_i2c.c pt1_tuner.c pt1_tuner_data.c | |
72
c9b41c438a93
hide misleading build message
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
58
diff
changeset
|
7 make -C /lib/modules/`uname -r`/build M=`pwd` V=$(VERBOSITY) modules |
36 | 8 |
9 clean: | |
72
c9b41c438a93
hide misleading build message
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
58
diff
changeset
|
10 make -C /lib/modules/`uname -r`/build M=`pwd` V=$(VERBOSITY) clean |
36 | 11 |
45
05424917a022
add a rule to install an udev rule file
Yoshiki Yazawa <yaz@honeyplanet.jp>
parents:
36
diff
changeset
|
12 obj-m := pt1_drv.o |
36 | 13 |
14 pt1_drv-objs := pt1_pci.o pt1_i2c.o pt1_tuner.o pt1_tuner_data.o | |
15 | |
16 clean-files := *.o *.ko *.mod.[co] *~ | |
17 | |
18 install: $(TARGET) | |
19 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
|
20 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
|
21 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
|
22 fi |
58 | 23 depmod -a |