Mercurial > pt1.oyama
view driver/Makefile @ 31:289794dc265f
adapted to use of multiple number of pt1:
- now pt1_open() checks major number.
- passes unique device name to device_create().
- handles device[] bit carefully.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Tue, 03 Mar 2009 05:15:40 +0900 |
parents | 5cd8212bea78 |
children | 65c8ac567074 |
line wrap: on
line source
# TARGET:= pt1_drv.ko all: ${TARGET} pt1_drv.ko: pt1_pci.c pt1_i2c.c pt1_tuner.c pt1_tuner_data.c make -C /lib/modules/`uname -r`/build M=`pwd` V=1 modules clean: make -C /lib/modules/`uname -r`/build M=`pwd` V=1 clean obj-m:= pt1_drv.o pt1_drv-objs := pt1_pci.o pt1_i2c.o pt1_tuner.o pt1_tuner_data.o clean-files := *.o *.ko *.mod.[co] *~ install: $(TARGET) install -m 644 $(TARGET) /lib/modules/`uname -r`/kernel/drivers/video