-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #62 from GaloisInc/49-mps-makefile-improvements
Refactor MPS Makefile to support separate build directories This branch refactors the MPS `src/Makefile` to put all generated files (except the final binary) in a build directory and to use separate build directories for separate configurations. For example, this allows for the following: ```sh make CONFIG=self_test make CONFIG=no_self_test TARGET=aarch64 ``` This produces separate `rts.self_test` and `rts.no_self_test.aarch64` binaries. Object files and other intermediate files are placed in separate `build.self_test/` and `build.self_test.aarch64/` directories, so they don't conflict and there's no need to `make clean` between the two builds. If `CONFIG` and `TARGET` aren't specified, it's still possible to configure the build by specifying options directly: ```sh make SENSORS=NotSimulated SELF_TEST=Enabled \ CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ ``` This produces an unsuffixed `rts` binary and uses `build/` for intermediate files.
- Loading branch information
Showing
10 changed files
with
189 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.