diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-06-09 18:04:57 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-06-12 21:35:23 -0400 |
commit | 4218a6dc8b71192ab23dfebb334a9f123375cf3b (patch) | |
tree | 5bd2de3556e9530d214cb99b5931037ae0d6823a /sim | |
parent | ba307cddcf7e42c5099632dcbad598d8f96044f4 (diff) | |
download | gdb-4218a6dc8b71192ab23dfebb334a9f123375cf3b.zip gdb-4218a6dc8b71192ab23dfebb334a9f123375cf3b.tar.gz gdb-4218a6dc8b71192ab23dfebb334a9f123375cf3b.tar.bz2 |
sim: erc32/ppc: fix handling of $EXEEXT
Diffstat (limited to 'sim')
-rw-r--r-- | sim/erc32/ChangeLog | 4 | ||||
-rw-r--r-- | sim/erc32/Makefile.in | 6 | ||||
-rw-r--r-- | sim/ppc/ChangeLog | 4 | ||||
-rw-r--r-- | sim/ppc/Makefile.in | 6 |
4 files changed, 14 insertions, 6 deletions
diff --git a/sim/erc32/ChangeLog b/sim/erc32/ChangeLog index a6cff9f..db08909 100644 --- a/sim/erc32/ChangeLog +++ b/sim/erc32/ChangeLog @@ -1,5 +1,9 @@ 2021-06-12 Mike Frysinger <vapier@gentoo.org> + * Makefile.in: Add $(EXEEXT) to sis. + +2021-06-12 Mike Frysinger <vapier@gentoo.org> + * aclocal.m4, config.in, configure: Regenerate. 2021-06-12 Mike Frysinger <vapier@gentoo.org> diff --git a/sim/erc32/Makefile.in b/sim/erc32/Makefile.in index f52daf7..5c29b0a 100644 --- a/sim/erc32/Makefile.in +++ b/sim/erc32/Makefile.in @@ -41,9 +41,9 @@ SIM_EXTRA_CFLAGS += -DFAST_UART -I$(srcroot) # `sis' doesn't need interf.o. SIS_OFILES = exec.o erc32.o func.o help.o float.o -all: sis -sis: sis.o $(SIS_OFILES) $(COMMON_OBJS) $(LIBDEPS) - $(CC) $(ALL_CFLAGS) -o sis \ +all: sis$(EXEEXT) +sis$(EXEEXT): sis.o $(SIS_OFILES) $(COMMON_OBJS) $(LIBDEPS) + $(CC) $(ALL_CFLAGS) -o sis$(EXEEXT) \ sis.o $(SIS_OFILES) $(COMMON_OBJS) $(EXTRA_LIBS) # Copy the files into directories where they will be run. diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog index 49b3e66..2b1b2e8 100644 --- a/sim/ppc/ChangeLog +++ b/sim/ppc/ChangeLog @@ -1,5 +1,9 @@ 2021-06-12 Mike Frysinger <vapier@gentoo.org> + * Makefile.in: Add $(EXEEXT) to run and psim. + +2021-06-12 Mike Frysinger <vapier@gentoo.org> + * Makefile.in: Delete ALIGNMENT_CFLAGS. * configure.ac: Delete sim-alignment. * configure: Regenerate. diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in index 5d0dd74..af9695d 100644 --- a/sim/ppc/Makefile.in +++ b/sim/ppc/Makefile.in @@ -158,7 +158,7 @@ INTL_CFLAGS = @INCINTL@ TARGETLIB = libsim.a -all: run $(TARGETLIB) $(GDB_OBJ) +all: run$(EXEEXT) $(TARGETLIB) $(GDB_OBJ) .c.o: $(CC) -c $(STD_CFLAGS) $< @@ -542,10 +542,10 @@ PACKAGE_SRC = @sim_pk_src@ PACKAGE_OBJ = @sim_pk_obj@ -psim: $(TARGETLIB) main.o $(LIBIBERTY_LIB) $(BFD_LIB) $(LIBINTL_DEP) +psim$(EXEEXT): $(TARGETLIB) main.o $(LIBIBERTY_LIB) $(BFD_LIB) $(LIBINTL_DEP) $(CC) $(CFLAGS) $(LDFLAGS) -o psim$(EXEEXT) main.o $(TARGETLIB) $(BFD_LIB) $(ZLIB) $(LIBINTL) $(LIBIBERTY_LIB) $(LIBS) -run: psim +run$(EXEEXT): psim$(EXEEXT) rm -f run$(EXEEXT) ln psim$(EXEEXT) run$(EXEEXT) |