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