Skip to content

Conversation

@EListenX
Copy link
Contributor

@EListenX EListenX commented Feb 2, 2026

bug: v/85506

Add Zephyr sys/settings include paths and link zblue to zblue_headers with PUBLIC so dependents like libbluetooth get include dirs via nuttx_link_libraries. Reorder include dirs for host/keys.h and settings_zblue.h.


target_link_libraries(zblue PRIVATE zblue_headers)
# PUBLIC so dependents (e.g. libbluetooth via nuttx_add_dependencies + nuttx_link_libraries) get INTERFACE include dirs
target_link_libraries(zblue PUBLIC zblue_headers)
Copy link
Contributor

Choose a reason for hiding this comment

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

why change from PRIVATE to PUBLIC ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

PUBLIC propagates INTERFACE to dependents; PRIVATE keeps headers internal.

${SYS_COMPAT_DIR}
${ZBLUE_DIR}/port/include/zephyr
${ZBLUE_DIR}/port/include
${ZBLUE_DIR}/include/zephyr/sys
Copy link
Contributor

Choose a reason for hiding this comment

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

was the sys head in port missing?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

have removed

@zhongzhijie1
Copy link
Contributor

Hi @xuxin930 帮忙 review 一下

bug: v/85506

Add Zephyr sys/settings include paths and link zblue to zblue_headers with PUBLIC so dependents like libbluetooth get include dirs via nuttx_link_libraries. Reorder include dirs for host/keys.h and settings_zblue.h.

Signed-off-by: v-yichenxi <v-yichenxi@xiaomi.com>
@EListenX EListenX reopened this Feb 5, 2026
@EListenX EListenX closed this Feb 5, 2026
@EListenX EListenX reopened this Feb 5, 2026
@GUIDINGLI GUIDINGLI merged commit 087e720 into open-vela:dev Feb 6, 2026
22 of 23 checks passed
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.

6 participants