summaryrefslogtreecommitdiff
path: root/packages/pwc/pwc-10.0.7a/Makefile
blob: d941f1a6f2e8cef81287ec4c13289040ae6be541 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
ifneq ($(KERNELRELEASE),)
pwc-objs        := pwc-if.o pwc-misc.o pwc-ctrl.o pwc-v4l.o pwc-uncompress.o \
		   pwc-dec1.o pwc-dec23.o pwc-kiara.o pwc-timon.o

obj-m	+= pwc.o

else
KDIR	:= /lib/modules/$(shell uname -r)/build
PWD	:= $(shell pwd)

default modules:
	$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
endif