summaryrefslogtreecommitdiff
path: root/v4l/Makefile
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-07-20 00:37:25 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-20 00:37:25 -0300
commitc49e3088c034e1fc59f27b9a97ba1e1d3590320a (patch)
treef8e236053be3226c1eeae03223a729d0c6e88304 /v4l/Makefile
parente073c4802611d884e129fb37edd1ec9ca41ed50c (diff)
downloadmediapointer-dvb-s2-c49e3088c034e1fc59f27b9a97ba1e1d3590320a.tar.gz
mediapointer-dvb-s2-c49e3088c034e1fc59f27b9a97ba1e1d3590320a.tar.bz2
Complete firmware compilation scripts
From: Mauro Carvalho Chehab <mchehab@infradead.org> This patch completes firmware compilation scripts: - linux/firmware/Makefile is just a copy of kernel script make file. It is not currently used by the building system; - Added two new targets for firmware compilation and instalation; - Fixes the COPYING file to explicitly state that the firmwares aren't covered by GPL; - make distclean will also cleanup the firmwares. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'v4l/Makefile')
-rw-r--r--v4l/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/v4l/Makefile b/v4l/Makefile
index 579b85f88..b43b59867 100644
--- a/v4l/Makefile
+++ b/v4l/Makefile
@@ -39,7 +39,7 @@ endif # TOPDIR
#################################################
# default compilation rule
-default:: config-compat.h Makefile.media links oss # firmware
+default:: config-compat.h Makefile.media links oss
@echo Kernel build directory is $(OUTDIR)
$(MAKE) -C $(OUTDIR) SUBDIRS=$(PWD) $(MYCFLAGS) modules
./scripts/rmmod.pl check
@@ -206,6 +206,9 @@ install:: media-install
remove rminstall:: media-rminstall
+firmware_install::
+ make -C firmware install
+
#################################################
# Compiling preparation rules
@@ -287,6 +290,7 @@ distclean:: clean
-rm -f scripts/lxdialog scripts/kconfig oss
@find .. -name '*.orig' -exec rm '{}' \;
@find .. -name '*.rej' -exec rm '{}' \;
+ $(MAKE) -C firmware distclean
#################################################
# Kernel module insert/removal rules