mirror of
https://git.yoctoproject.org/poky
synced 2026-09-16 09:49:35 +02:00
meta-toolchain: Improve layout
* Switch from /usr/local/poky to /opt/poky * Use a sysroots directory for both the "native" sdk binaries and the target * Drop the meta-toolchain extras packages. These are replaced with packaged-staging. * Change the nativesdk layout to match our usual filesystem layout * Clean up various hardcoded prefix references Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -43,6 +43,9 @@ includedir_native = "${prefix_native}/include"
|
||||
libdir_native = "${prefix_native}/lib"
|
||||
datadir_native = "${prefix_native}/share"
|
||||
bindir_cross = "/bin"
|
||||
prefix_nativesdk = "/usr"
|
||||
bindir_nativesdk = "${prefix_nativesdk}/bin"
|
||||
libdir_nativesdk = "${prefix_nativesdk}/lib"
|
||||
|
||||
#
|
||||
# Cross recipes need to know about the target layout
|
||||
@@ -290,6 +293,7 @@ PKGDATA_DIR = "${TMPDIR}/pkgdata/${MULTIMACH_TARGET_SYS}"
|
||||
|
||||
SDK_NAME = "${DISTRO}/${TARGET_ARCH}"
|
||||
SDKPATH = "/usr/local/${SDK_NAME}"
|
||||
SDKPATHNATIVE = "${SDKPATH}/sysroots/${SDK_SYS}"
|
||||
|
||||
##################################################################
|
||||
# Kernel info.
|
||||
|
||||
Reference in New Issue
Block a user