The patch number 10918 was added via Hans Verkuil <[email protected]>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        Linux Media Mailing List <[email protected]>

------

From: Hans Verkuil  <[email protected]>
v4l-dvb: fix make v4l2-spec/dvb-spec


Since the v4l2-spec and dvb-spec directories exist, make v4l2-spec will
do nothing. Adding a simple .PHONY rule doesn't help either, since
.PHONY doesn't work with wildcard rules. So we have to add a specific
rule for these two targets to the top-level Makefile.

I thought of changing the target names, but v4l2-spec and dvb-spec are
just too obvious a choice to change.

Priority: normal

Signed-off-by: Hans Verkuil <[email protected]>


---

 Makefile |    8 ++++++++
 1 file changed, 8 insertions(+)

diff -r 84e8ed264572 -r bfee6b2c30de Makefile
--- a/Makefile  Fri Mar 06 14:41:13 2009 +0100
+++ b/Makefile  Fri Mar 06 15:06:10 2009 +0100
@@ -14,6 +14,14 @@ all:
 
 install:
        $(MAKE) -C $(BUILD_DIR) install
+
+# Hmm, .PHONY does not work with wildcard rules :-(
+SPECS = v4l2-spec dvb-spec
+
+.PHONY: $(SPECS)
+
+$(SPECS):
+       $(MAKE) -C $(BUILD_DIR) $(MAKECMDGOALS)
 
 %::
        $(MAKE) -C $(BUILD_DIR) $(MAKECMDGOALS)


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/bfee6b2c30deea60b7f1c0a1383cbf9c890baa3f

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to