8000 tools: scripts: Add dependency on make_dirs by CiprianRegus · Pull Request #2631 · analogdevicesinc/no-OS · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tools: scripts: Add dependency on make_dirs #2631

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

CiprianRegus
Copy link
Contributor

The correct sequence in the build process is to first create the directory structure for all the source files (in build/app), and then create the symlinks for those files.

Since 54c826c ("fix incremental build from Git Bash"), the directory and symlink creation have been moved to different make rules, however there is no dependency between them. This results in compilation errors whenever a multithreaded build is done. Fix the issue by adding the dependency on make_dirs.

Pull Request Description

Please replace this with a detailed description and motivation of the changes.
You can tick the checkboxes below with an 'x' between square brackets or just check them after publishing the PR.
If this PR contains a breaking change, list dependent PRs and try to push all related PRs at the same time.

PR Type

  • Bug fix (change that fixes an issue)
  • New feature (change that adds new functionality)
  • Breaking change (has dependencies in other repos or will cause CI to fail)

PR Checklist

  • I have followed the Coding style guidelines
  • I have complied with the Submission Checklist
  • I have performed a self-review of the changes
  • I have commented my code, at least hard-to-understand parts
  • I have build all projects affected by the changes in this PR
  • I have tested in hardware affected projects, at the relevant boards
  • I have signed off all commits from this PR
  • I have updated the documentation (wiki pages, ReadMe etc), if applies

The correct sequence in the build process is to first create the
directory structure for all the source files (in build/app), and then
create the symlinks for those files.

Since 54c826c ("fix incremental build from Git Bash"), the directory
and symlink creation have been moved to different make rules, however
there is no dependency between them. This results in compilation errors
whenever a multithreaded build is done:

[16:08:56] Building for maxim
[16:08:56] Building for target max32690
[16:08:56] Creating IDE project
ln: failed to create symbolic link 'Downloads/no-OS/projects/apard32690/build/app/noos/drivers/api/no_os_dma.c': No such file or directory
make[1]: *** [../../tools/scripts/generic.mk:391: Downloads/no-OS/projects/apard32690/build/app/noos/drivers/api/no_os_dma.c] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [../../tools/scripts/generic.mk:267: all] Error 2

Fix the issue by adding the dependency on make_dirs.

Fixes: 54c826c ("fix incremental build from Git Bash")
Signed-off-by: Ciprian Regus <ciprian.regus@analog.com>
@CiprianRegus CiprianRegus force-pushed the dev/maxim_build_revert branch from 0b885fc to a244d7c Compare June 6, 2025 13:10
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.

3 participants
0