summaryrefslogtreecommitdiffstats
path: root/scripts/lib/bsp/help.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/bsp/help.py')
-rw-r--r--scripts/lib/bsp/help.py36
1 files changed, 36 insertions, 0 deletions
diff --git a/scripts/lib/bsp/help.py b/scripts/lib/bsp/help.py
index 91de60017e..d7c0360a7a 100644
--- a/scripts/lib/bsp/help.py
+++ b/scripts/lib/bsp/help.py
@@ -388,6 +388,7 @@ yocto_kernel_usage = """
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 feature describe Describe a particular feature
391 feature create Create a new BSP-local feature
391 392
392 See 'yocto-kernel help COMMAND' for more information on a specific command. 393 See 'yocto-kernel help COMMAND' for more information on a specific command.
393 394
@@ -752,6 +753,41 @@ DESCRIPTION
752""" 753"""
753 754
754 755
756yocto_kernel_feature_create_usage = """
757
758 Create a recipe-space kernel feature in a BSP
759
760 usage: yocto-kernel feature create <bsp-name> newfeature.scc \
761 "Feature Description" capabilities [<CONFIG_XXX=x> ...] [<PATCH> ...]
762
763 This command creates a new kernel feature from the bare config
764 options and patches specified on the command-line.
765"""
766
767
768yocto_kernel_feature_create_help = """
769
770NAME
771 yocto-kernel feature create - create a recipe-space kernel feature
772 in a BSP
773
774SYNOPSIS
775 yocto-kernel feature create <bsp-name> newfeature.scc \
776 "Feature Description" capabilities [<CONFIG_XXX=x> ...] [<PATCH> ...]
777
778DESCRIPTION
779 This command creates a new kernel feature from the bare config
780 options and patches specified on the command-line. The new
781 feature will be created in recipe-space, specifically in either
782 the kernel .bbappend's /files/cfg or /files/features subdirectory,
783 depending on whether or not the feature contains config items only
784 or config items along with patches. The named feature must end
785 with .scc and must not contain a feature directory to contain the
786 feature (this will be determined automatically), and a feature
787 decription in double-quotes along with a capabilities string
788 (which for the time being can be one of: 'all' or 'board').
789"""
790
755## 791##
756# yocto-layer help and usage strings 792# yocto-layer help and usage strings
757## 793##