diff options
| author | Tom Zanussi <tom.zanussi@intel.com> | 2013-03-11 21:46:37 -0500 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-17 23:10:28 +0000 |
| commit | 2518215438119804290aa8149936ebde0fcc89d3 (patch) | |
| tree | a3e986b4c29fbf6129516c62e5ec5a4982fa049d /scripts/lib/bsp/help.py | |
| parent | 934f2ed2539e046f91a234d30fc4da71ffbe28a0 (diff) | |
| download | poky-2518215438119804290aa8149936ebde0fcc89d3.tar.gz | |
yocto-kernel: add support for printing kernel feature descriptions
Add a yocto-kernel command allowing users to print the description and
compatibility of a given kernel feature.
(From meta-yocto rev: 73b4f1a8d156af6810cdde3af672d6286a7071e7)
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 | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/scripts/lib/bsp/help.py b/scripts/lib/bsp/help.py index 9ba6a931ee..91de60017e 100644 --- a/scripts/lib/bsp/help.py +++ b/scripts/lib/bsp/help.py | |||
| @@ -387,6 +387,7 @@ yocto_kernel_usage = """ | |||
| 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 | features list List the features available to BSPs |
| 390 | feature describe Describe a particular feature | ||
| 390 | 391 | ||
| 391 | See 'yocto-kernel help COMMAND' for more information on a specific command. | 392 | See 'yocto-kernel help COMMAND' for more information on a specific command. |
| 392 | 393 | ||
| @@ -723,6 +724,34 @@ DESCRIPTION | |||
| 723 | """ | 724 | """ |
| 724 | 725 | ||
| 725 | 726 | ||
| 727 | yocto_kernel_feature_describe_usage = """ | ||
| 728 | |||
| 729 | Print the description and compatibility information for a given kernel feature | ||
| 730 | |||
| 731 | usage: yocto-kernel feature describe <bsp-name> [/xxxx/yyyy/feature.scc ...] | ||
| 732 | |||
| 733 | This command prints the description and compatibility of a specific | ||
| 734 | feature in the format 'description [compatibility]. | ||
| 735 | """ | ||
| 736 | |||
| 737 | |||
| 738 | yocto_kernel_feature_describe_help = """ | ||
| 739 | |||
| 740 | NAME | ||
| 741 | yocto-kernel feature describe - print the description and | ||
| 742 | compatibility information for a given kernel feature | ||
| 743 | |||
| 744 | SYNOPSIS | ||
| 745 | yocto-kernel feature describe <bsp-name> [/xxxx/yyyy/feature.scc ...] | ||
| 746 | |||
| 747 | DESCRIPTION | ||
| 748 | This command prints the description and compatibility of a | ||
| 749 | specific feature in the format 'description [compatibility]. If | ||
| 750 | the feature doesn't define a description or compatibility, a | ||
| 751 | string with generic unknown values will be printed. | ||
| 752 | """ | ||
| 753 | |||
| 754 | |||
| 726 | ## | 755 | ## |
| 727 | # yocto-layer help and usage strings | 756 | # yocto-layer help and usage strings |
| 728 | ## | 757 | ## |
