Mercurial > pt1.oyama
view driver/Makefile @ 56:521d796003b2
small build fixes
- added install rule to arib25 top level makefile
- suppress warning in compilation of arib_std_b25.c
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Sun, 13 Sep 2009 11:48:40 +0900 |
parents | 05424917a022 |
children | 7a03d5185067 |
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 if [ -d /etc/udev/rules.d -a ! -f /etc/udev/rules.d/99-pt1.rules ] ; then \ install -m 644 etc/99-pt1.rules /etc/udev/rules.d ; \ fi