summaryrefslogtreecommitdiff
path: root/recipes/pwc/pwc-10.0.9-rc1/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/pwc/pwc-10.0.9-rc1/Makefile')
-rw-r--r--recipes/pwc/pwc-10.0.9-rc1/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/pwc/pwc-10.0.9-rc1/Makefile b/recipes/pwc/pwc-10.0.9-rc1/Makefile
new file mode 100644
index 0000000000..d941f1a6f2
--- /dev/null
+++ b/recipes/pwc/pwc-10.0.9-rc1/Makefile
@@ -0,0 +1,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