summaryrefslogtreecommitdiffstats
path: root/scripts/lib/bsp/help.py
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@intel.com>2013-03-11 22:19:07 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-17 23:10:28 +0000
commit5edc7af428cccfbf53780fc98ed1685b655f43d1 (patch)
tree8a2d19445c3761229cae00d52dcb17d14ee0ea15 /scripts/lib/bsp/help.py
parent2518215438119804290aa8149936ebde0fcc89d3 (diff)
downloadpoky-5edc7af428cccfbf53780fc98ed1685b655f43d1.tar.gz
yocto-kernel: add support for creating recipe-space kernel features
Add a yocto-kernel command allowing users to create a recipe-space kernel feature local to a particular BSP. The new feature is subsequently available for the normal feature addition and removal yocto-kernel commands used with features defined in the meta branch of linux-yocto kernel repos. (From meta-yocto rev: 13abcd93b9e1591bc45ff5f9eb17b8feb9ac9ae5) 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.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##