summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
Diffstat (limited to 'v4l')
-rw-r--r--v4l/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/v4l/Makefile b/v4l/Makefile
index 52ca3ec54..da51bb50a 100644
--- a/v4l/Makefile
+++ b/v4l/Makefile
@@ -48,6 +48,12 @@ default:: config-compat.h Makefile.media links oss
firmware::
$(MAKE) -C firmware
+spec::
+ $(MAKE) -C ../v4l2-spec
+
+apps::
+ $(MAKE) -C ../v4l2-apps
+
#################################################
# Object specific rules
@@ -265,6 +271,7 @@ config-compat.h:: $(obj)/.version .myconfig scripts/make_config_compat.pl
kernel-links makelinks::
cd ..; v4l/scripts/makelinks.sh $(SRCDIR)
+
#################################################
# Cardlist updating rule
@@ -279,7 +286,9 @@ clean::
@find . -name '*.h' -type l -exec rm '{}' \;
-rm -f *~ *.o *.ko .*.o.cmd .*.ko.cmd *.mod.c av7110_firm.h fdump \
config-compat.h Module.symvers Module.markers modules.order
- make -C firmware clean
+ $(MAKE) -C firmware $@
+ $(MAKE) -C ../v4l2-spec $@
+ $(MAKE) -C ../v4l2-apps $@
distclean:: clean
-rm -f .version .*.o.flags .*.o.d Makefile.media \
@@ -289,7 +298,9 @@ distclean:: clean
-rm -f scripts/lxdialog scripts/kconfig oss
@find .. -name '*.orig' -exec rm '{}' \;
@find .. -name '*.rej' -exec rm '{}' \;
- $(MAKE) -C firmware distclean
+ $(MAKE) -C firmware $@
+ $(MAKE) -C ../v4l2-spec $@
+ $(MAKE) -C ../v4l2-apps $@
#################################################
# Kernel module insert/removal rules