diff options
author | Mike Frysinger <vapier@gentoo.org> | 2024-01-02 09:50:43 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2024-01-03 01:21:48 -0500 |
commit | 01c2a7aa695147ad6b9a46034056b2073119ca7b (patch) | |
tree | 9d6e71e5920006686ff66658ed0c526f17708bf6 /sim/ppc/Makefile.in | |
parent | e0e9cd645f3e421a39e67b0cc32d5f7551318b9e (diff) | |
download | gdb-01c2a7aa695147ad6b9a46034056b2073119ca7b.zip gdb-01c2a7aa695147ad6b9a46034056b2073119ca7b.tar.gz gdb-01c2a7aa695147ad6b9a46034056b2073119ca7b.tar.bz2 |
sim: ppc: move libsim.a creation to top-level
The objects are still compiled in the subdir, but the creation of the
archive itself is in the top-level. This is a required step before we
can move compilation itself up, and makes it easier to review.
The downside is that each object compile is a recursive make instead of
a single one. It adds some overhead, so it's not great, but it shouldn't
be a big deal. This will go away once compilation is hoisted up.
Diffstat (limited to 'sim/ppc/Makefile.in')
-rw-r--r-- | sim/ppc/Makefile.in | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in index 7841e75..8c05568 100644 --- a/sim/ppc/Makefile.in +++ b/sim/ppc/Makefile.in @@ -97,10 +97,7 @@ INCLUDES = -I. -I$(srcdir) $(LIB_INCLUDES) $(BFD_INCLUDES) -I../.. LIBIBERTY_LIB = ../../libiberty/libiberty.a BFD_LIB = ../../bfd/libbfd.la - -TARGETLIB = libsim.a - -all: $(TARGETLIB) $(GDB_OBJ) +all: .c.o: $(ECHO_CC) $(CC) -c $(STD_CFLAGS) $< @@ -444,10 +441,6 @@ PACKAGE_SRC = pk_disklabel.c PACKAGE_OBJ = $(PACKAGE_SRC:.c=.o) -$(TARGETLIB): defines.h $(LIB_OBJ) $(GDB_OBJ) - $(ECHO_AR) $(AR) $(AR_FLAGS) $(TARGETLIB) $(LIB_OBJ) $(GDB_OBJ) - $(ECHO_RANLIB) $(RANLIB) $(TARGETLIB) - psim.o: psim.c $(CPU_H) $(IDECODE_H) $(OPTIONS_H) $(TREE_H) $(BFD_H) bits.o: bits.c $(BASICS_H) |