Krzesimir Nowak 24d1eedf90 build_library: Move and fix pkg_use_enabled into
There were two problems with pkg_use_enabled:

1. It did not detect force-enabled or masked USE flags correctly -
   selinux USE flag is force-enabled and is shown in the output inside
   parentheses.

2. It was defined in board_options.sh which injects some command line
   flags and globals that are not related to the function.

Since pkg_use_enabled was only used so far for checking the selinux
USE flags, add a function is_selinux_enabled and use the newly added
function in the currently only user of pkg_use_enabled.

Signed-off-by: Krzesimir Nowak <knowak@microsoft.com>
2026-02-27 14:49:26 +01:00
..
2019-11-07 19:40:01 +01:00
2025-10-10 00:56:42 +09:00
2022-09-14 14:32:49 +02:00