forked from firesim/firesim
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rework buildafi.get_sim_makevar to work for regular makevars too
previous implementation using '--dry-run --print-data-base' only worked for 'simple' (i.e. := ) makevars. Regular (i.e. =) makevars are not expanded in the data-base dump. Instead, implemented a phony 'echo' target that takes a manditory ECHOVAR=<varname> parameter and prints the value of that variable as a line: <varname> = <value> to stdout if it exists. If it is undefined, it prints a message to stderr and causes make to exit non-zero.
- Loading branch information
Showing
2 changed files
with
18 additions
and
1 deletion.
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