-
-
Notifications
You must be signed in to change notification settings - Fork 39.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add ability to dump all makefile variables for the specified target. #8256
Conversation
I'm assuming that this for more than the makefile stuff, but for system stuff too? |
Well it enables printing all the variables after all substitutions have been made. This, at least, allows for invoking the command in the description to get the post-resolved value.
Those values are already whitelisted. |
Getting some issues on some avr targets, $ make handwired/onekey/promicro:default:dump_vars | grep ^BOOTLOADER=
BOOTLOADER=caterina
tmk_core/rules.mk:394: *** Makefile option cannot be blank. Stop.
make: *** [Makefile:579: handwired/onekey/promicro:default:dump_vars] Error 1 |
Thank you for your contribution! |
Works with AVR boards if the following options are passed:
|
Fixed up for the failing AVR's. Now working when doing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
__attribute__ ((weak))
✔️
Thanks! |
Description
Adds a new subtarget to builds,
dump_vars
, which allows for printing out all the variables that make knows about, after all substitutions occur.Example:
make handwired/onekey/proton_c:default:dump_vars
Types of Changes
Checklist