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

soc: adsp: cmake: disable sign.py when CONFIG_KERNEL_BIN_NAME is used #59726

Closed

Conversation

marc-hb
Copy link
Collaborator

@marc-hb marc-hb commented Jun 23, 2023

This alternative competes with


sign.py, sof/scripts/xtensa-build-zephyr.py and other SOF infrastructure
do not support the (rarely used) CONFIG_KERNEL_BIN_NAME so stop
pretending they do.

This fixes the build error below reported in #59603 when
CONFIG_KERNEL_BIN_NAME is used:

zephyr/zephyr.elf', needed by 'zephyr/zephyr.ri', missing and no known
rule to make it

Note rimage is still optional, even when CONFIG_KERNEL_BIN_NAME is
not used. As before, to avoid using rimage:

  • make sure it's not in your PATH
  • west config -d rimage.path

Signed-off-by: Marc Herbert marc.herbert@intel.com

De-duplicate the `if target in ('imx8', 'imx8m'):` copy/paste/diverge
before someone updates one and not the other. Also better to define
bootloader always.

Zero functional change.

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
sign.py, sof/scripts/xtensa-build-zephyr.py and other SOF infrastructure
do not support the (rarely used) CONFIG_KERNEL_BIN_NAME so stop
pretending they do.

This fixes the build error below reported in zephyrproject-rtos#59603 when
CONFIG_KERNEL_BIN_NAME is used:
```
zephyr/zephyr.elf', needed by 'zephyr/zephyr.ri', missing and no known
rule to make it
```

Note `rimage` is _still_ optional, even when CONFIG_KERNEL_BIN_NAME is
not used. As before, to avoid using rimage:
- make sure it's not in your PATH
- west config -d rimage.path

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
@marc-hb
Copy link
Collaborator Author

marc-hb commented Jul 12, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: West West utility platform: Intel ADSP Intel Audio platforms platform: NXP NXP
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants