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

xtensa-build-zephyr.py: make --deployable-build the default #8781

Merged
merged 1 commit into from
Apr 2, 2024

Commits on Mar 15, 2024

  1. xtensa-build-zephyr.py: make --deployable-build the default

    Every Linux developer should use deployable builds by default.
    
    Until Peter Ujfalusi's very recent work in this script, we had a
    complete `/lib/firmware/` structure disconnect between the IPC4 output
    of this script and the IPC4 expectations of the Linux kernel. To
    workaround this disconnect, every CI and Linux developer used to
    implement duplicate and inconsistent firmware deployment hacks.
    
    People crafting sof-bin releases also had to organize IPC4 releases
    manually, which was extremely error-prone and with limited test
    coverage (Thanks Kai and Mengdong!)
    
    Now that Peter gracefully fixed the layout, documented it in sof-docs
    and implemented it in this script, the time for all Linux developers to
    drop their inconsistent deployment hacks is overdue. All these hacks
    must be replaced with a simple, one-line recursive copy which makes sure
    the layout committed in version control is constantly tested by
    everyone.
    
    So, make deployable builds the new default.
    
    The new default will also help with sof-bin releases, making sure they
    use a well tested /lib/firmware/ layout.
    
    The --no-deployable-build was recently introduced to help minimize
    disruption and migration effort for people and automation who do NOT use
    Linux. The `/lib/firmware/` directory structure is irrelevant outside
    Linux (but everyone is of course free to choose it)
    
    Signed-off-by: Marc Herbert <marc.herbert@intel.com>
    marc-hb committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    4921da2 View commit details
    Browse the repository at this point in the history