summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-04-22 13:28:11 +0000
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-04-22 13:28:11 +0000
commiteea5e74da6f8c1ca2b0670f75c16c690808ce023 (patch)
tree7ee3d27b767dff11c0e52353e5343125b8fe884c
parentafbe8098d1f0cf8f7e66a817c530318c67e155ee (diff)
downloadmediapointer-dvb-s2-eea5e74da6f8c1ca2b0670f75c16c690808ce023.tar.gz
mediapointer-dvb-s2-eea5e74da6f8c1ca2b0670f75c16c690808ce023.tar.bz2
Make firmware before install
From: Nicola Soranzo <nsoranzo@tiscali.it> Presently with the usual: make && sudo make install firmware is not built during make, but in the second step with root privileges, which should be avoided. This patch adds firmware dependency to the default make target. Moreover, one more file (ihex2fw) should be deleted by firmware clean. Priority: normal Signed-off-by: Nicola Soranzo <nsoranzo@tiscali.it> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--v4l/Makefile2
-rw-r--r--v4l/firmware/Makefile1
2 files changed, 2 insertions, 1 deletions
diff --git a/v4l/Makefile b/v4l/Makefile
index ed9cdcbe6..aea333c9c 100644
--- a/v4l/Makefile
+++ b/v4l/Makefile
@@ -39,7 +39,7 @@ 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
diff --git a/v4l/firmware/Makefile b/v4l/firmware/Makefile
index d108dd0f7..6c6e88ed2 100644
--- a/v4l/firmware/Makefile
+++ b/v4l/firmware/Makefile
@@ -7,6 +7,7 @@ FW_DIR = /lib/firmware
default: $(TARGETS)
clean:
+ -rm -f ihex2fw
-rm -f $(TARGETS)
distclean: clean