aboutsummaryrefslogtreecommitdiff
path: root/gdb/Makefile.in
diff options
context:
space:
mode:
authorYao Qi <yao.qi@linaro.org>2017-10-06 14:53:39 +0100
committerYao Qi <yao.qi@linaro.org>2017-10-06 14:53:39 +0100
commit0d28b0a5caa6b04129e21a9aff371d4032c7ef17 (patch)
tree705759d84d06fb9f280703eabf397a0d387df2e9 /gdb/Makefile.in
parent71917808c3490b4d4df9c6e848e3c5d75f5278d2 (diff)
downloadgdb-0d28b0a5caa6b04129e21a9aff371d4032c7ef17.zip
gdb-0d28b0a5caa6b04129e21a9aff371d4032c7ef17.tar.gz
gdb-0d28b0a5caa6b04129e21a9aff371d4032c7ef17.tar.bz2
Move aarch64-insn.o to arch/aarch64-insn.o and Remove a rule for arch/*.c
This patch moves aarch64-insn.o to arch/aarch64-insn.o. Then, all arch/*.c are built to arch/*.o, so we don't need a Makefile rule to build *.o from arch/*.c. This patch removes it too. gdb: 2017-10-06 Yao Qi <yao.qi@linaro.org> * Makefile.in (ALL_64_TARGET_OBS): Replace aarch64-insn.o with arch/aarch64-insn.o. Remove one rule. * configure.tgt: Replace aarch64-insn.o with arch/aarch64-insn.o.
Diffstat (limited to 'gdb/Makefile.in')
-rw-r--r--gdb/Makefile.in6
1 files changed, 1 insertions, 5 deletions
diff --git a/gdb/Makefile.in b/gdb/Makefile.in
index 4492aca..da4095d 100644
--- a/gdb/Makefile.in
+++ b/gdb/Makefile.in
@@ -759,7 +759,6 @@ TARGET_OBS = @TARGET_OBS@
# (used with --enable-targets=all --enable-64-bit-bfd).
ALL_64_TARGET_OBS = \
aarch64-fbsd-tdep.o \
- aarch64-insn.o \
aarch64-linux-tdep.o \
aarch64-newlib-tdep.o \
aarch64-tdep.o \
@@ -778,6 +777,7 @@ ALL_64_TARGET_OBS = \
amd64-sol2-tdep.o \
amd64-tdep.o \
amd64-windows-tdep.o \
+ arch/aarch64-insn.o \
arch/amd64.o \
ia64-linux-tdep.o \
ia64-tdep.o \
@@ -1926,10 +1926,6 @@ all: gdb$(EXEEXT) $(CONFIG_ALL)
$(POSTCOMPILE)
# Rules for compiling .c files in the various source subdirectories.
-%.o: ${srcdir}/arch/%.c
- $(COMPILE) $<
- $(POSTCOMPILE)
-
%.o: $(srcdir)/cli/%.c
$(COMPILE) $<
$(POSTCOMPILE)