Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add a make function to calculate the config include path for a module #74

Open
rhempel opened this issue Feb 9, 2025 · 0 comments
Open

Comments

@rhempel
Copy link
Owner

rhempel commented Feb 9, 2025

Currently, the module level adaptabuild.mak file needs to specify the include path for any project/mcu specific config files, like this:

$(MODULE)_INCPATH += $(ROOT_PATH)/$(SRC_PATH)/$(PRODUCT)/config/$(MCU)

It would be better to allow the user to avoid knowing about external variables (and their quirks) by allowing something like this:

$(MODULE)_INCPATH += $(call make_config_path)

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

No branches or pull requests

1 participant