2005-04-16 18:20:36 -04:00
|
|
|
ifneq ($(KERNELRELEASE),)
|
|
|
|
|
2005-05-27 08:40:53 -04:00
|
|
|
pwc-objs := pwc-if.o pwc-misc.o pwc-ctrl.o pwc-uncompress.o pwc-timon.o pwc-kiara.o
|
2005-04-16 18:20:36 -04:00
|
|
|
|
|
|
|
obj-$(CONFIG_USB_PWC) += pwc.o
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
KDIR := /lib/modules/$(shell uname -r)/build
|
|
|
|
PWD := $(shell pwd)
|
|
|
|
|
|
|
|
default:
|
|
|
|
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.[oas] .*.flags *.ko .*.cmd .*.d .*.tmp *.mod.c
|
|
|
|
rm -rf .tmp_versions
|
|
|
|
|