diff options
author | Tom Zanussi <tom.zanussi@intel.com> | 2013-03-11 21:25:46 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-17 23:10:28 +0000 |
commit | 934f2ed2539e046f91a234d30fc4da71ffbe28a0 (patch) | |
tree | d23b6fdda5c60c2ac29df1f1a923b6bb93786603 /scripts/lib/bsp/help.py | |
parent | 0bfe83edbb65f94fca8028be0ca20fdfec5ffc81 (diff) | |
download | poky-934f2ed2539e046f91a234d30fc4da71ffbe28a0.tar.gz |
yocto-kernel: add support for listing available kernel features
Add a yocto-kernel command allowing users to list all the kernel
features available to a BSP. This includes the features contained in
linux-yocto meta branches as well as recipe-space features defined
locally to the BSP.
(From meta-yocto rev: 12f3af8d92456ad9212170decdbe102fc78b58f6)
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/bsp/help.py')
-rw-r--r-- | scripts/lib/bsp/help.py | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/scripts/lib/bsp/help.py b/scripts/lib/bsp/help.py index 2d7b6fe6d2..9ba6a931ee 100644 --- a/scripts/lib/bsp/help.py +++ b/scripts/lib/bsp/help.py | |||
@@ -386,6 +386,7 @@ yocto_kernel_usage = """ | |||
386 | feature list List the features used by a BSP | 386 | feature list List the features used by a BSP |
387 | feature add Have a BSP use a feature | 387 | feature add Have a BSP use a feature |
388 | feature rm Have a BSP stop using a feature | 388 | feature rm Have a BSP stop using a feature |
389 | features list List the features available to BSPs | ||
389 | 390 | ||
390 | See 'yocto-kernel help COMMAND' for more information on a specific command. | 391 | See 'yocto-kernel help COMMAND' for more information on a specific command. |
391 | 392 | ||
@@ -692,6 +693,36 @@ DESCRIPTION | |||
692 | remove. | 693 | remove. |
693 | """ | 694 | """ |
694 | 695 | ||
696 | |||
697 | yocto_kernel_available_features_list_usage = """ | ||
698 | |||
699 | List the set of kernel features available to a BSP | ||
700 | |||
701 | usage: yocto-kernel features list <bsp-name> | ||
702 | |||
703 | This command lists the complete set of kernel features available to a | ||
704 | BSP. This includes the features contained in linux-yocto meta | ||
705 | branches as well as recipe-space features defined locally to the BSP. | ||
706 | """ | ||
707 | |||
708 | |||
709 | yocto_kernel_available_features_list_help = """ | ||
710 | |||
711 | NAME | ||
712 | yocto-kernel features list - List the set of kernel features | ||
713 | available to a BSP | ||
714 | |||
715 | SYNOPSIS | ||
716 | yocto-kernel features list <bsp-name> | ||
717 | |||
718 | DESCRIPTION | ||
719 | This command lists the complete set of kernel features available | ||
720 | to a BSP. This includes the features contained in linux-yocto | ||
721 | meta branches as well as recipe-space features defined locally to | ||
722 | the BSP. | ||
723 | """ | ||
724 | |||
725 | |||
695 | ## | 726 | ## |
696 | # yocto-layer help and usage strings | 727 | # yocto-layer help and usage strings |
697 | ## | 728 | ## |