mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:54:41 +08:00
sim: use program_transform_name for libsim
Instead of always using target_alias as a prefix on the name, use program_transform_name instead so that the library is scoped in the same way as the run program.
This commit is contained in:
parent
fb2c495f94
commit
fccf4ba5ad
@ -479,7 +479,7 @@ install-common: installdirs
|
||||
n=`echo run | sed '$(program_transform_name)'`; \
|
||||
[ "$(SIM_PRIMARY_TARGET)" = "$$a" ] || n="$$n-$$a"; \
|
||||
$(INSTALL_PROGRAM) run$(EXEEXT) $(DESTDIR)$(bindir)/$$n$(EXEEXT)
|
||||
n="$(target_alias)-sim"; \
|
||||
n=`echo sim | sed '$(program_transform_name)'`; \
|
||||
a=`basename "$$(pwd)"`; \
|
||||
[ "$(SIM_PRIMARY_TARGET)" = "$$a" ] || n="$$n-$$a"; \
|
||||
n="lib$$n.a"; \
|
||||
|
Loading…
Reference in New Issue
Block a user