From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1521) id 2EDD93858CDB; Tue, 10 Jan 2023 06:22:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2EDD93858CDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1673331760; bh=Ju3R9cFVV4uJ80dYd7zB3Wb9oBJlFPI9Yrgg6NaRMEg=; h=From:To:Subject:Date:From; b=r8wITAD15J/V0V1YOm5++06PteRwgvOXcLe5ioId1K+AxHAL9P/aBUdzCfnLQrrdH 5OuU/Doc/L4UBe7CfWHjkTzxS/E2R0WqvO0jfAM2VbNc/6S8R4UgS/YCa5DjD69uzH H8R8Pst4yaZnqlmZVQzYJ6VeNX99rLjx7jP9UawY= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Frysinger To: gdb-cvs@sourceware.org Subject: [binutils-gdb] sim: build: drop support for subdir extra deps X-Act-Checkin: binutils-gdb X-Git-Author: Mike Frysinger X-Git-Refname: refs/heads/master X-Git-Oldrev: 437eeee95c10c613d992fc786350618bbafcdf57 X-Git-Newrev: 7a1e1f94636358e642631869d0918e758feefd03 Message-Id: <20230110062240.2EDD93858CDB@sourceware.org> Date: Tue, 10 Jan 2023 06:22:40 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D7a1e1f946363= 58e642631869d0918e758feefd03 commit 7a1e1f94636358e642631869d0918e758feefd03 Author: Mike Frysinger Date: Sun Dec 25 14:38:48 2022 -0500 sim: build: drop support for subdir extra deps =20 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). Diff: --- sim/README-HACKING | 3 --- sim/common/Make-common.in | 14 -------------- 2 files changed, 17 deletions(-) diff --git a/sim/README-HACKING b/sim/README-HACKING index c47eef8ce73..38d871b1514 100644 --- a/sim/README-HACKING +++ b/sim/README-HACKING @@ -46,9 +46,6 @@ The Makefile.in of a simulator using the common framework= should look like: =20 # List of object files, less common parts. SIM_OBJS =3D -# List of extra dependencies. -# Generally this consists of simulator specific files included by sim-main= .h. -SIM_EXTRA_DEPS =3D # List of flags to always pass to $(CC). SIM_EXTRA_CFLAGS =3D # Dependency of `clean' to clean any extra files. diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in index b56a49a0051..ab26c494359 100644 --- a/sim/common/Make-common.in +++ b/sim/common/Make-common.in @@ -85,9 +85,6 @@ POSTCOMPILE =3D @true =20 # List of object files, less common parts. SIM_OBJS =3D -# List of extra dependencies. -# Generally this consists of simulator specific files included by sim-main= .h. -SIM_EXTRA_DEPS =3D # List of flags to always pass to $(CC). SIM_EXTRA_CFLAGS =3D # List of main object files for `run'. @@ -185,17 +182,6 @@ override POSTCOMPILE =3D endif =20 all_object_files =3D $(LIB_OBJS) $(SIM_RUN_OBJS) -generated_files =3D \ - $(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 =20 # Dependencies. -include $(patsubst %.o, $(DEPDIR)/%.Po, $(all_object_files))