summaryrefslogtreecommitdiff
path: root/v4l/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'v4l/Makefile')
-rw-r--r--v4l/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/v4l/Makefile b/v4l/Makefile
index a5201f31b..23ae32cad 100644
--- a/v4l/Makefile
+++ b/v4l/Makefile
@@ -39,13 +39,19 @@ endif # TOPDIR
#################################################
# default compilation rule
-default:: config-compat.h Makefile.media links oss
+default:: config-compat.h Makefile.media links oss firmware
@echo Kernel build directory is $(OUTDIR)
$(MAKE) -C $(OUTDIR) SUBDIRS=$(PWD) $(MYCFLAGS) modules
./scripts/rmmod.pl check
# $(MAKE) checkpatch
+mismatch:: config-compat.h Makefile.media links oss firmware
+ @echo Kernel build directory is $(OUTDIR)
+ $(MAKE) -Wfatal-errors -C $(OUTDIR) SUBDIRS=$(PWD) $(MYCFLAGS) CONFIG_DEBUG_SECTION_MISMATCH=y modules
+ ./scripts/rmmod.pl check
+
firmware::
+ $(MAKE) -C firmware prep
$(MAKE) -C firmware
v4l2-spec::
@@ -212,7 +218,7 @@ all:: default
#################################################
# installation invocation rules
-install:: media-install
+install:: media-install firmware_install
remove rminstall:: media-rminstall
@@ -301,7 +307,7 @@ distclean:: clean
-rm -f .version .*.o.flags .*.o.d Makefile.media \
Kconfig Kconfig.kern .config .config.cmd .myconfig \
.kconfig.dep
- -rm -rf .tmp_versions
+ -rm -rf .tmp_versions .tmp*.ver .tmp*.o
-rm -f scripts/lxdialog scripts/kconfig oss
@find .. -name '*.orig' -exec rm '{}' \;
@find .. -name '*.rej' -exec rm '{}' \;