On Centos6 I was unable to generate a urjtag binary that accepted the stapl
option. After some digging I tracked it back to generated_cmd_list.h not
being regenerated, because while a new file had been added to the list of
files it would be generated from, the generated_cmd_list.h file was newer
than any of them. This patch adds generated_cmd_list.h.stamp to PHONY,
which avoids this problem by always regenerating the file.
Nick
diff --git a/urjtag/src/cmd/Makefile.am b/urjtag/src/cmd/Makefile.am
index 3f71e35..b00ef4d 100644
--- a/urjtag/src/cmd/Makefile.am
+++ b/urjtag/src/cmd/Makefile.am
@@ -25,6 +25,8 @@ include $(top_srcdir)/Makefile.rules
noinst_LTLIBRARIES = libcmd.la
+.PHONY: generated_cmd_list.h.stamp
+
all_cmd_files = \
cmd_frequency.c \
cmd_cable.c \
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
UrJTAG-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/urjtag-development