diff options
author | Jan Beulich <jbeulich@suse.com> | 2022-09-30 10:14:58 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2022-09-30 10:14:58 +0200 |
commit | 79d635fc64ba9ca97c24c0c52c9924dba77e9527 (patch) | |
tree | ea21f6c79dccdb5b8f587d2560a1bbd2a220fcdc /bfd/cpu-tic6x.c | |
parent | 7b94647ad00bb096348ea074fa2f19e1873eb0a7 (diff) | |
download | gdb-79d635fc64ba9ca97c24c0c52c9924dba77e9527.zip gdb-79d635fc64ba9ca97c24c0c52c9924dba77e9527.tar.gz gdb-79d635fc64ba9ca97c24c0c52c9924dba77e9527.tar.bz2 |
x86: correct build dependencies in opcodes/
With the command in the rule merely being "echo", i386-tbl.h won't be
rebuilt if missing, when at the same time i386-init.h is present and
up-to-date. Use a pattern rule instead to express the multiple targets
correctly (the &: rule separator is supported only by GNU make 4.3 and
newer). Note that now, for the opposite case to work (i386-tbl.h is
up-to-date but i386-init.h is missing), i386-init.h also needs
mentioning as a dependency somewhere: Add a fake dependency for
i386-opc.lo ("fake" because i386-opc.c doesn't include that header).
At the same time use $(AM_V_GEN) in the actual rule, replacing the
earlier (open-coded) "echo". And while there also drop a duplicate
dependency of i386-gen.o on i386-opc.h.
Diffstat (limited to 'bfd/cpu-tic6x.c')
0 files changed, 0 insertions, 0 deletions