Skip to content

Kconfig: move COMPILE_POSAL from arch Kconfigs to posal Kconfig#73

Open
quic-aditrath wants to merge 1 commit intoAudioReach:masterfrom
quic-aditrath:config_posal_kconfig
Open

Kconfig: move COMPILE_POSAL from arch Kconfigs to posal Kconfig#73
quic-aditrath wants to merge 1 commit intoAudioReach:masterfrom
quic-aditrath:config_posal_kconfig

Conversation

@quic-aditrath
Copy link
Copy Markdown
Contributor

COMPILE_POSAL was identically duplicated across arch Kconfigs (hexagon & linux), with only the default value differing per arch.

Consolidate the symbol into fwk/platform/posal/Kconfig as a single definition, using arch-conditioned default lines to preserve the existing per-arch behaviour:

  • default n if ARCH_HEXAGON (platform supplies posal externally)
  • default y (fallback for Linux, and any future
    arch that builds posal from source)

Remove the now-redundant COMPILE_POSAL blocks from:

  • arch/hexagon/Kconfig
  • arch/linux/Kconfig

@quic-aditrath quic-aditrath requested review from a team March 26, 2026 09:39
COMPILE_POSAL was identically duplicated across arch Kconfigs
(hexagon & linux), with only the default value differing per arch.

Consolidate the symbol into fwk/platform/posal/Kconfig as a single
definition, using arch-conditioned default lines to preserve the
existing per-arch behaviour:

  - default n if ARCH_HEXAGON  (platform supplies posal externally)
  - default y                  (fallback for Linux, and any future
                                arch that builds posal from source)

Remove the now-redundant COMPILE_POSAL blocks from:
  - arch/hexagon/Kconfig
  - arch/linux/Kconfig

Signed-off-by: Aditya Rathi <aditrath@qti.qualcomm.com>
@quic-aditrath quic-aditrath force-pushed the config_posal_kconfig branch from 83b66bc to 8deff49 Compare April 9, 2026 06:53
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