Skip to content
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

Configuration variables cannot be set/overridden by target specific variable values #98

Open
Virtual-Java opened this issue Aug 1, 2021 · 0 comments

Comments

@Virtual-Java
Copy link

I'm trying to implement a makefile inspired by these used in optiboot bootloader.
https://github.com/Optiboot/optiboot/tree/master/optiboot/bootloaders/optiboot

Then I want to create a makeall script, that compiles the hexfiles for all microcontrollers, which will simplify to generate multiple hexfiles for different configurations of my Multihoodloader.
https://github.com/Virtual-Java/HoodLoader2/tree/multihoodloader/avr/bootloaders/HexFiles
Furthermore it may be useful for users of your Hoodloader2 too.

It is not possible to set/override LUFA configuration variables by target specific variable values.
e.g. the following target specific expression in makefile will be ignored. Instead of the target specific value the globally declared value will be taken when calling "make atmega8u2".
abcminiuser/lufa#175

Maybe you can help me to solve this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant