diff options
author | Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> | 2017-02-07 22:56:42 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-04-05 21:27:33 +0200 |
commit | a2596422d762eeb7902b62821d4c7a26fa1f958b (patch) | |
tree | 5b918e8e2f2f6b93a4b813f990a29483c2a15dea /boot/syslinux | |
parent | ba6bac138331cea449592f877e558f84176a70bf (diff) | |
download | buildroot-a2596422d762eeb7902b62821d4c7a26fa1f958b.tar.gz buildroot-a2596422d762eeb7902b62821d4c7a26fa1f958b.zip |
toolchain helpers: introduce function relpath_prefix
The helper function copy_toolchain_sysroot has some logic to transform a
path into a number of '../' components based on the depth of that path.
As this same logic will be needed in another place in a subsequent patch,
extract it into a separate helper relpath_prefix.
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'boot/syslinux')
0 files changed, 0 insertions, 0 deletions