mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
Build system: Get rid of the MOVEOBJ definition
Eliminate the MOVEOBJ definition from tools/Config.mk, Makefiles, and other locations. The MOVEOBJ definition was used to work around the case where the object output of a compile or assemble is in a different directory than the source file. The ZDS-II tools have no command line option to perform this move; MOVEOBJ handled the move as a post-compiler operation. MOVEOBJ is no longer needed because this the ez80 COMPILE and ASSEMBLE definitions now handle all of the object file movement cases.
This commit is contained in:
committed by
Abdelatif Guettouche
parent
75be4c5677
commit
d1a8a803e4
@@ -186,17 +186,6 @@ define INSTALL_LIB
|
||||
$(Q) install -m 0644 $1 $2
|
||||
endef
|
||||
|
||||
# MOVEOBJ - Default macro to move an object file to the correct location
|
||||
# Example: $(call MOVEOBJ, prefix, directory)
|
||||
#
|
||||
# This is only used in directories that keep object files in sub-directories.
|
||||
# Certain compilers (ZDS-II) always place the resulting files in the
|
||||
# directory where the compiler was invoked with no option to generate objects
|
||||
# in a different location.
|
||||
|
||||
define MOVEOBJ
|
||||
endef
|
||||
|
||||
# ARCHIVE - Add a list of files to an archive
|
||||
# Example: $(call ARCHIVE, archive-file, "file1 file2 file3 ...")
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user