-
Notifications
You must be signed in to change notification settings - Fork 1
sim_moxie_custom_dirstamp
- Status: Merged for GDB 13
- Branch:
sim-moxie-custom-dirstamp
- Tracking PR: #47 (view Pull Request and Diff)
- Mailing List:
If maintainer mode is enabled and try to build Moxie simulator, the build fails because there's no rule to make sim/moxie/.dirstamp
to build sim/moxie/moxie-gdb.dtb
.
Normally, Automake creates directory stamp file when an output is in a subdirectory. However, only if the output is either a program or a library.
Because sim/moxie/moxie-gdb.dtb
is neither a program nor a library, Automake does not generate dirstamp file ($builddir/sim/moxie/.dirstamp
) for it and causes this error.
This commit adds its own rule for the directory stamp (modified copy of the Automake output) and adds the directory stamp file to DISTCLEANFILES
to mimic Automake-generated behavior (although make distclean
does not work when maintainer mode is enabled).
This patchset is merged with additional comments by Andrew Burgess.