Skip to content

Conversation

sijnstra
Copy link
Contributor

Align the source code to compile using default setting for new target_drivers_hook. This makes more sense as the hook should be independent of any specific driver order.

Align the source code to compile using default setting for new target_drivers_hook. This makes more sense as the hook should be independent of any specific driver order.
@Zeal8bit
Copy link
Owner

@sijnstra Looks good! You may want to force the menuconfig option TARGET_HAS_DRIVERS_HOOK by adding this to agon's Kconfig file:

    config TARGET_HAS_DRIVERS_HOOK
        bool
        default y

@sijnstra
Copy link
Contributor Author

sijnstra commented Sep 16, 2025

@Zeal8bit Interestingly the reason I added this was because the default was to use it. I can try to add it explicitly as well, but it seemed to be the general default when I tried to build 0.6.0.

@sijnstra
Copy link
Contributor Author

@Zeal8bit added - I did a quick look and yes it seems that the variable is inherited from the first use. Makes sense to make it explicit in case of future change.

@Zeal8bit
Copy link
Owner

Looks good, thanks! (and sorry for the delay!)

@Zeal8bit Zeal8bit merged commit 05178b8 into Zeal8bit:main Sep 27, 2025
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

Successfully merging this pull request may close these issues.

2 participants