diff options
author | Qi.Chen@windriver.com <Qi.Chen@windriver.com> | 2015-09-07 13:42:25 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-07 16:10:59 +0100 |
commit | 7511862faad1c28804e2410ff42747c8706c5207 (patch) | |
tree | c3f02e917149b2096047ac04c697fe94f20356b3 /meta/files | |
parent | 526537404d5a07189d4c6859f4a572d2107dbfd8 (diff) | |
download | openembedded-core-contrib-7511862faad1c28804e2410ff42747c8706c5207.tar.gz |
Extensible SDK: allow for installation without preparing build system
When publishing SDK, what we want is basically its metadata and sstate
cache objects. We don't want the SDK to be prepared with running bitbake
as it takes time which reproduces meaningless output for the published SDK.
So this patch adds an option to allow for SDK to be extracted without
preparing the build system.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/files')
-rw-r--r-- | meta/files/toolchain-shar-extract.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/files/toolchain-shar-extract.sh b/meta/files/toolchain-shar-extract.sh index 36249404305..cd0a547f86d 100644 --- a/meta/files/toolchain-shar-extract.sh +++ b/meta/files/toolchain-shar-extract.sh @@ -32,7 +32,7 @@ answer="" relocate=1 savescripts=0 verbose=0 -while getopts ":yd:DRS" OPT; do +while getopts ":yd:nDRS" OPT; do case $OPT in y) answer="Y" @@ -40,6 +40,9 @@ while getopts ":yd:DRS" OPT; do d) target_sdk_dir=$OPTARG ;; + n) + prepare_buildsystem="no" + ;; D) verbose=1 ;; @@ -54,6 +57,8 @@ while getopts ":yd:DRS" OPT; do echo "Usage: $(basename $0) [-y] [-d <dir>]" echo " -y Automatic yes to all prompts" echo " -d <dir> Install the SDK to <dir>" + echo "======== Extensible SDK only options ============" + echo " -n Do not prepare the build system" echo "======== Advanced DEBUGGING ONLY OPTIONS ========" echo " -S Save relocation scripts" echo " -R Do not relocate executables" |