mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 12:23:31 +08:00
new binary layout and cp/mv instead of INSTALL
This commit is contained in:
@ -66,17 +66,16 @@ srcdir = .
|
|||||||
# Common prefix for installation directories.
|
# Common prefix for installation directories.
|
||||||
# NOTE: This directory must exist when you start installation.
|
# NOTE: This directory must exist when you start installation.
|
||||||
destdir = /usr/local
|
destdir = /usr/local
|
||||||
prefix = $(destdir)
|
|
||||||
# Directory in which to put the executable for the command `gcc'
|
# Directory in which to put the executable for the command `gcc'
|
||||||
bindir = $(prefix)/bin
|
bindir = $(destdir)/H-$(host_alias)/T-$(target_alias)/bin
|
||||||
# Directory in which to put the directories used by the compiler.
|
# Directory in which to put the directories used by the compiler.
|
||||||
libdir = $(prefix)/lib
|
libdir = $(destdir)/H-$(host_alias)/T-$(target_alias)/lib
|
||||||
# Directory in which the compiler finds executables, libraries, etc.
|
# Directory in which the compiler finds executables, libraries, etc.
|
||||||
libsubdir = $(libdir)/gcc/$(target)/$(version)
|
libsubdir = $(libdir)/gcc/$(target)/$(version)
|
||||||
# Number to put in man-page filename.
|
# Number to put in man-page filename.
|
||||||
manext = 1
|
manext = 1
|
||||||
# Directory in which to put man pages.
|
# Directory in which to put man pages.
|
||||||
mandir = $(prefix)/man/man$(manext)
|
mandir = $(destdir)/H-independent/man/man$(manext)
|
||||||
|
|
||||||
# Additional system libraries to link with.
|
# Additional system libraries to link with.
|
||||||
CLIB=
|
CLIB=
|
||||||
@ -451,7 +450,9 @@ realclean: cleanconfig
|
|||||||
|
|
||||||
# Copy the files into directories where they will be run.
|
# Copy the files into directories where they will be run.
|
||||||
install: $(ALL)
|
install: $(ALL)
|
||||||
$(INSTALL_PROGRAM) $(ALL) $(libsubdir)/as
|
# $(INSTALL_PROGRAM) $(ALL) $(libsubdir)/as
|
||||||
|
cp $(ALL) $(bindir)/as.new
|
||||||
|
mv -f $(bindir)/as.new $(bindir)/as
|
||||||
|
|
||||||
# Create the installation directory.
|
# Create the installation directory.
|
||||||
install-dir:
|
install-dir:
|
||||||
|
Reference in New Issue
Block a user