Skip to content

qdl: Add support for up to 32 include folder when searching for files#197

Open
WilliamBright-IMD wants to merge 2 commits intolinux-msm:masterfrom
WilliamBright-IMD:feature/Multiple_Include_Folders
Open

qdl: Add support for up to 32 include folder when searching for files#197
WilliamBright-IMD wants to merge 2 commits intolinux-msm:masterfrom
WilliamBright-IMD:feature/Multiple_Include_Folders

Conversation

@WilliamBright-IMD
Copy link
Copy Markdown

This is particularly useful for yocto builds since binaries are generated into three folders whereas currently QDL only supports searching for files in two folders (if you pass a single -i argument)

You can use this new feature like below:
qdl -i folder1 -i folder2

@WilliamBright-IMD WilliamBright-IMD force-pushed the feature/Multiple_Include_Folders branch from d136299 to b6cff7f Compare March 12, 2026 15:57
…r files.

This is particularly useful for yocto builds since binaries are generated into three folders whereas currently QDL only supports searching for files in two folders.
Signed-off-by: William Bright <William.Bright@imd-tec.com>
@WilliamBright-IMD WilliamBright-IMD force-pushed the feature/Multiple_Include_Folders branch from b6cff7f to bd47e4a Compare March 12, 2026 15:58
@WilliamBright-IMD
Copy link
Copy Markdown
Author

Hi @lumag , I don't have permissions to add a reviewer so I wonder if this PR has gone unnoticed.
Kind regards - Will

@andersson
Copy link
Copy Markdown
Collaborator

Problem description sounds reasonable to me. Would it make sense to use list.h to carry the list of include dirs instead of making it an array?

Approving the workflow to get the build checks to run for now.

Use list_head from list.h to carry include directories instead of
a hardcoded 32-entry array, removing the arbitrary limit on the
number of -i options. Formatting issues of the previous patch
were also fixed in the process of making this change.

Signed-off-by: William Bright <William.Bright@imd-tec.com>
@WilliamBright-IMD
Copy link
Copy Markdown
Author

Problem description sounds reasonable to me. Would it make sense to use list.h to carry the list of include dirs instead of making it an array?

Approving the workflow to get the build checks to run for now.

Thanks, I have pushed another commit with formatting corrections and the list.h change. I wasn't' sure if you want to fold this commit with the previous commit or not, so I will leave it up to you.

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