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

BC2A-1408: Fix conflict name issue during APP building #445

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

cedelavergne-ledger
Copy link
Contributor

@cedelavergne-ledger cedelavergne-ledger commented Oct 9, 2023

Description

Avoid object files conflict when building an APP:

  • Separate object files into 2 distinct directories for both SDK and APP
  • Same modification for dependency files
  • Warn if same headers filename are found in both SDK and APP
  • Simplify the way source files list is generated

✔️ Tested and validated with bolos-ng.

Jira ticket: https://ledgerhq.atlassian.net/browse/B2CA-1408

This also fixes a dependency issue on nanos, where make always rebuilds everything.

Impacted Apps (found with this repository CI):

Impacted Apps (found with ledger-app-tester):

Changes include

  • Bugfix (non-breaking change that solves an issue)

@codecov-commenter
Copy link

codecov-commenter commented Oct 10, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a01a99c) 60.18% compared to head (cc8702b) 60.18%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #445   +/-   ##
=======================================
  Coverage   60.18%   60.18%           
=======================================
  Files          12       12           
  Lines        1660     1660           
=======================================
  Hits          999      999           
  Misses        661      661           
Flag Coverage Δ
unittests 60.18% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cedelavergne-ledger cedelavergne-ledger force-pushed the cev/B2CA-1408_conflict-name branch from 1893c51 to 9a42969 Compare October 10, 2023 07:18
@cedelavergne-ledger cedelavergne-ledger marked this pull request as draft October 10, 2023 07:21
@cedelavergne-ledger cedelavergne-ledger force-pushed the cev/B2CA-1408_conflict-name branch 11 times, most recently from ff7fff3 to 3be6789 Compare October 10, 2023 14:25
@cedelavergne-ledger cedelavergne-ledger marked this pull request as ready for review October 10, 2023 15:04
@cedelavergne-ledger cedelavergne-ledger force-pushed the cev/B2CA-1408_conflict-name branch from 3be6789 to 4735a38 Compare October 10, 2023 15:39
@tjoly-ledger tjoly-ledger self-requested a review October 11, 2023 14:15
@cedelavergne-ledger cedelavergne-ledger force-pushed the cev/B2CA-1408_conflict-name branch from 4735a38 to 1771d90 Compare October 23, 2023 10:19
@cedelavergne-ledger cedelavergne-ledger marked this pull request as draft October 23, 2023 10:39
@cedelavergne-ledger cedelavergne-ledger force-pushed the cev/B2CA-1408_conflict-name branch 2 times, most recently from d6e9b52 to be17acd Compare November 16, 2023 09:09
@cedelavergne-ledger cedelavergne-ledger force-pushed the cev/B2CA-1408_conflict-name branch 6 times, most recently from 91706a0 to 33e1b0e Compare November 21, 2023 10:04
@cedelavergne-ledger cedelavergne-ledger force-pushed the cev/B2CA-1408_conflict-name branch from 33e1b0e to 617ed86 Compare December 6, 2023 13:53
@cedelavergne-ledger cedelavergne-ledger force-pushed the cev/B2CA-1408_conflict-name branch 2 times, most recently from 1ceb081 to 4a4e0a4 Compare December 14, 2023 14:40
@cedelavergne-ledger cedelavergne-ledger marked this pull request as ready for review December 14, 2023 16:19
Copy link
Contributor

@tjoly-ledger tjoly-ledger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested !

Copy link
Contributor

@xchapron-ledger xchapron-ledger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on app-boilerplate, it's a great improvement.

Makefile.rules Show resolved Hide resolved
Makefile.rules Outdated Show resolved Hide resolved
Makefile.rules Show resolved Hide resolved
Makefile.rules Outdated Show resolved Hide resolved
- Separate object files into 2 distinct directories for both SDK and APP
- Same modification for dependency files
- Warn if same headers filename are found in both SDK and APP
- Simplify the way source files list is generated
@cedelavergne-ledger cedelavergne-ledger force-pushed the cev/B2CA-1408_conflict-name branch from 2358307 to cc8702b Compare December 18, 2023 13:19
@cedelavergne-ledger cedelavergne-ledger merged commit 86e20d8 into master Dec 20, 2023
157 of 158 checks passed
@cedelavergne-ledger cedelavergne-ledger deleted the cev/B2CA-1408_conflict-name branch December 20, 2023 09:26
This was referenced Jan 24, 2024
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.

4 participants