mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
perf: don't use oe.path.relative
Instead of using oe.path.relative, use the Python Standard Library function os.path.relpath. (From OE-Core rev: 01f640f2e878ef86db4138f422fdf74f5f41c8c5) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
baa8b031f2
commit
370717d328
@@ -86,10 +86,10 @@ EXTRA_OEMAKE += "\
|
||||
'sysconfdir=${sysconfdir}' \
|
||||
'perfexecdir=${libexecdir}/perf-core' \
|
||||
\
|
||||
'ETC_PERFCONFIG=${@oe.path.relative(prefix, sysconfdir)}' \
|
||||
'sharedir=${@oe.path.relative(prefix, datadir)}' \
|
||||
'mandir=${@oe.path.relative(prefix, mandir)}' \
|
||||
'infodir=${@oe.path.relative(prefix, infodir)}' \
|
||||
'ETC_PERFCONFIG=${@os.path.relpath(sysconfdir, prefix)}' \
|
||||
'sharedir=${@os.path.relpath(datadir, prefix)}' \
|
||||
'mandir=${@os.path.relpath(mandir, prefix)}' \
|
||||
'infodir=${@os.path.relpath(infodir, prefix)}' \
|
||||
"
|
||||
|
||||
# PPC64 uses long long for u64 in the kernel, but powerpc's asm/types.h
|
||||
|
||||
Reference in New Issue
Block a user