summaryrefslogtreecommitdiff
path: root/tools/d2c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2015-06-18 21:53:43 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2015-06-18 21:53:43 (GMT)
commit2bf52fcc65f066186b2b5ada7bad4d41770caf01 (patch)
tree86f04041e08416dcae9238eda47f089fc1bd1420 /tools/d2c
parentc987ca944052019957d3f31d69c679ed5ad994f2 (diff)
Fixed and extended the support for ARM v7 instructions.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@542 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'tools/d2c')
-rwxr-xr-xtools/d2c/d2c_genmakefile.sh4
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}