aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2016-08-15 10:01:05 +0200
committerHans Verkuil <hans.verkuil@cisco.com>2016-08-15 10:01:05 +0200
commitac0f9ae5bf9e655524503397bd9ac8804960362c (patch)
tree26fdee4abd2dd74a38a944a96b9333678bc59be4
parentddaf84884263d8b9782e5ad303024b25a3faca20 (diff)
cec-follower/compliance: fix makefile rules for generated headers
The dependencies were not correct. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
-rw-r--r--utils/cec-compliance/Makefile.am4
-rw-r--r--utils/cec-follower/Makefile.am2
2 files changed, 5 insertions, 1 deletions
diff --git a/utils/cec-compliance/Makefile.am b/utils/cec-compliance/Makefile.am
index e7c2b519..331b03e3 100644
--- a/utils/cec-compliance/Makefile.am
+++ b/utils/cec-compliance/Makefile.am
@@ -1,6 +1,8 @@
bin_PROGRAMS = cec-compliance
-cec_compliance_SOURCES = cec-compliance.cpp cec-test.cpp cec-test-adapter.cpp cec-test-audio.cpp cec-test-power.cpp cec-table.h
+cec_compliance_SOURCES = cec-compliance.cpp cec-test.cpp cec-test-adapter.cpp cec-test-audio.cpp cec-test-power.cpp
+
+cec-compliance.cpp: cec-table.h
cec-table.h: ../cec-ctl/msg2ctl.pl ../../include/linux/cec.h ../../include/linux/cec-funcs.h
../cec-ctl/msg2ctl.pl 2 ../../include/linux/cec.h ../../include/linux/cec-funcs.h >$@
diff --git a/utils/cec-follower/Makefile.am b/utils/cec-follower/Makefile.am
index bc934732..27d5bfe2 100644
--- a/utils/cec-follower/Makefile.am
+++ b/utils/cec-follower/Makefile.am
@@ -7,6 +7,8 @@ cec-log.cpp: cec-log.h
cec-log.h: ../cec-ctl/msg2ctl.pl ../../include/linux/cec.h ../../include/linux/cec-funcs.h
../cec-ctl/msg2ctl.pl 1 ../../include/linux/cec.h ../../include/linux/cec-funcs.h >$@
+cec-follower.cpp: cec-table.h
+
cec-table.h: ../cec-ctl/msg2ctl.pl ../../include/linux/cec.h ../../include/linux/cec-funcs.h
../cec-ctl/msg2ctl.pl 2 ../../include/linux/cec.h ../../include/linux/cec-funcs.h >$@

Privacy Policy