diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-01-02 22:48:13 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-01-02 22:48:13 -0500 |
commit | fdbd297027e61f03192f73a4d888f91b3d0dfbbb (patch) | |
tree | 49ad0ba0d2eb386884a7726ba5f243e69b8b5fce /sim/sh | |
parent | 7c9a934c4d2b519c3f55db51476d376ca1bad8f1 (diff) | |
download | gdb-fdbd297027e61f03192f73a4d888f91b3d0dfbbb.zip gdb-fdbd297027e61f03192f73a4d888f91b3d0dfbbb.tar.gz gdb-fdbd297027e61f03192f73a4d888f91b3d0dfbbb.tar.bz2 |
sim: sh: move some generated source files to built sources
This should have been part of the previous commit 80636a54bcfa2bca3dc8f
("sim: build: move generated headers to built sources"), but they were
missed because they're .c files effectively treated as .h files.
Diffstat (limited to 'sim/sh')
-rw-r--r-- | sim/sh/local.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sim/sh/local.mk b/sim/sh/local.mk index 2dc6332..8c2ce0d 100644 --- a/sim/sh/local.mk +++ b/sim/sh/local.mk @@ -24,10 +24,14 @@ noinst_PROGRAMS += %D%/run +## List all generated headers to help Automake dependency tracking. +## NB: These .c files are only included by other .c files. They are not +## compiled individually. Hence they're really "header" files. +BUILT_SOURCES += \ + %D%/code.c \ + %D%/ppi.c %C%_BUILD_OUTPUTS = \ %D%/gencode$(EXEEXT) \ - %D%/code.c \ - %D%/ppi.c \ %D%/table.c ## This makes sure build tools are available before building the arch-subdirs. |