summaryrefslogtreecommitdiffstats
path: root/scripts/lib/bsp/help.py
diff options
context:
space:
mode:
authorTom Zanussi <tom.zanussi@intel.com>2013-03-11 22:36:44 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-17 23:10:28 +0000
commit8c9320cc922a165946ac557f0bda2e29ab794951 (patch)
treefa84332422b156ae252821b163ca5e6a2d74cb1e /scripts/lib/bsp/help.py
parent5edc7af428cccfbf53780fc98ed1685b655f43d1 (diff)
downloadpoky-8c9320cc922a165946ac557f0bda2e29ab794951.tar.gz
yocto-kernel: add support for destroying recipe-space kernel features
Add a yocto-kernel command allowing users to destroy a recipe-space kernel feature local to a particular BSP. The removed feature is subsequently no longer available for the normal feature addition and removal yocto-kernel commands. (From meta-yocto rev: faa18f56d9412694f2c8e0b0c09e751cb7f3a743) 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.py31
1 files changed, 31 insertions, 0 deletions
diff --git a/scripts/lib/bsp/help.py b/scripts/lib/bsp/help.py
index d7c0360a7a..427b5a00e9 100644
--- a/scripts/lib/bsp/help.py
+++ b/scripts/lib/bsp/help.py
@@ -389,6 +389,7 @@ yocto_kernel_usage = """
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 feature create Create a new BSP-local feature
392 feature destroy Remove a BSP-local feature
392 393
393 See 'yocto-kernel help COMMAND' for more information on a specific command. 394 See 'yocto-kernel help COMMAND' for more information on a specific command.
394 395
@@ -788,6 +789,36 @@ DESCRIPTION
788 (which for the time being can be one of: 'all' or 'board'). 789 (which for the time being can be one of: 'all' or 'board').
789""" 790"""
790 791
792
793yocto_kernel_feature_destroy_usage = """
794
795 Destroy a recipe-space kernel feature in a BSP
796
797 usage: yocto-kernel feature destroy <bsp-name> feature.scc
798
799 This command destroys a kernel feature defined in the specified BSP's
800 recipe-space kernel definition.
801"""
802
803
804yocto_kernel_feature_destroy_help = """
805
806NAME
807 yocto-kernel feature destroy <bsp-name> feature.scc - destroy a
808 recipe-space kernel feature in a BSP
809
810SYNOPSIS
811 yocto-kernel feature destroy <bsp-name> feature.scc
812
813DESCRIPTION
814 This command destroys a kernel feature defined in the specified
815 BSP's recipe-space kernel definition. The named feature must end
816 with .scc and must not contain a feature directory to contain the
817 feature (this will be determined automatically). If the kernel
818 feature is in use by a BSP, it can't be removed until the BSP
819 stops using it (see yocto-kernel feature rm to stop using it).
820"""
821
791## 822##
792# yocto-layer help and usage strings 823# yocto-layer help and usage strings
793## 824##