mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-06 06:45:56 +08:00
sim: build: drop support for subdir extra deps
Nothing uses this hook anymore, so punt it. It was largely used to track generated files (which we do in the top-level now) and extra header files (which we use automake depgen for now).
This commit is contained in:
@ -85,9 +85,6 @@ POSTCOMPILE = @true
|
||||
|
||||
# List of object files, less common parts.
|
||||
SIM_OBJS =
|
||||
# List of extra dependencies.
|
||||
# Generally this consists of simulator specific files included by sim-main.h.
|
||||
SIM_EXTRA_DEPS =
|
||||
# List of flags to always pass to $(CC).
|
||||
SIM_EXTRA_CFLAGS =
|
||||
# List of main object files for `run'.
|
||||
@ -185,17 +182,6 @@ override POSTCOMPILE =
|
||||
endif
|
||||
|
||||
all_object_files = $(LIB_OBJS) $(SIM_RUN_OBJS)
|
||||
generated_files = \
|
||||
$(SIM_EXTRA_DEPS)
|
||||
|
||||
# Ensure that generated files are created early. Use order-only
|
||||
# dependencies if available. They require GNU make 3.80 or newer,
|
||||
# and the .VARIABLES variable was introduced at the same time.
|
||||
ifdef .VARIABLES
|
||||
$(all_object_files): | $(generated_files)
|
||||
else
|
||||
$(all_object_files) : $(generated_files)
|
||||
endif
|
||||
|
||||
# Dependencies.
|
||||
-include $(patsubst %.o, $(DEPDIR)/%.Po, $(all_object_files))
|
||||
|
Reference in New Issue
Block a user