]> code.ossystems Code Review - openembedded-core.git/commit
relocate_sdk.py: remove hardcoded SDK path
authorRuslan Bilovol <rbilovol@cisco.com>
Wed, 22 Nov 2017 11:20:05 +0000 (13:20 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 24 Jul 2018 10:52:07 +0000 (11:52 +0100)
commit6671a4d980c8bef8f402780a308f6c43a25044aa
tree60d32526f61406efe889be729b56b7b5820ac770
parent11efc94742088ec6fbf2a86000e98286b0b529ef
relocate_sdk.py: remove hardcoded SDK path

This patch removes hardcodes added to relocate_sdk.py
during SDK build, making it flexible and reusable.
Now default SDK path is passed to the script as
parameter rather then harcoded inside it.

This allows to reuse this script for multiple
relocations, and adds possibility to relocate
SDK multiple times

Signed-off-by: Ruslan Bilovol <rbilovol@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/populate_sdk_base.bbclass
meta/files/toolchain-shar-relocate.sh
scripts/relocate_sdk.py