diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/d2c/d2c_genmakefile.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/d2c/d2c_genmakefile.sh b/tools/d2c/d2c_genmakefile.sh index 8d3c6b5..2338b6d 100755 --- a/tools/d2c/d2c_genmakefile.sh +++ b/tools/d2c/d2c_genmakefile.sh @@ -117,7 +117,9 @@ do $echo " ${arch}_opcodes.h" >> ${MAKEFILE_TMP} $echo -e "\t\$(cini_verbose)cat ${input}/${arch}_.${op}.tmpl.c > \$@" >> ${MAKEFILE_TMP} - $echo -e "\t\$(cgen_verbose)cat \$^ >> \$@" >> ${MAKEFILE_TMP} + $echo -ne "\t\$(cgen_verbose)cat \$(" >> ${MAKEFILE_TMP} + $echo -ne "${op}_${arch}_FILES" | tr [a-z] [A-Z] >> ${MAKEFILE_TMP} + $echo -e ") >> \$@" >> ${MAKEFILE_TMP} $echo >> ${MAKEFILE_TMP} |