mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
Install cross-packages into the native sysroot
Cross is no longer required so can go away, we now install cross packages into the native sysroot and use them from there. This patch includes updates to classes and some recipes which reference CROSS_DIR. Others still need fixing an image can be built and run with this patch applied. Signed-off-by: Joshua Lock <josh@linux.intel.com>
This commit is contained in:
@@ -46,8 +46,8 @@ def create_cross_env(bb,d):
|
||||
return ""
|
||||
|
||||
import tarfile, socket, time
|
||||
ice_dir = bb.data.expand('${CROSS_DIR}', d)
|
||||
prefix = bb.data.expand('${HOST_PREFIX}' , d)
|
||||
ice_dir = bb.data.expand("${STAGING_DIR_NATIVE}${prefix_native}")
|
||||
distro = bb.data.expand('${DISTRO}', d)
|
||||
target_sys = bb.data.expand('${TARGET_SYS}', d)
|
||||
target_prefix = bb.data.expand('${TARGET_PREFIX}', d)
|
||||
@@ -93,7 +93,7 @@ def create_cross_env(bb,d):
|
||||
|
||||
def create_native_env(bb,d):
|
||||
import tarfile, socket, time
|
||||
ice_dir = bb.data.expand('${CROSS_DIR}', d)
|
||||
ice_dir = bb.data.expand("${STAGING_DIR_NATIVE}${prefix_native}")
|
||||
prefix = bb.data.expand('${HOST_PREFIX}' , d)
|
||||
distro = bb.data.expand('${DISTRO}', d)
|
||||
target_sys = bb.data.expand('${TARGET_SYS}', d)
|
||||
@@ -131,7 +131,7 @@ def create_native_env(bb,d):
|
||||
|
||||
def create_cross_kernel_env(bb,d):
|
||||
import tarfile, socket, time
|
||||
ice_dir = bb.data.expand('${CROSS_DIR}', d)
|
||||
ice_dir = bb.data.expand("${STAGING_DIR_NATIVE}${prefix_native}")
|
||||
prefix = bb.data.expand('${HOST_PREFIX}' , d)
|
||||
distro = bb.data.expand('${DISTRO}', d)
|
||||
target_sys = bb.data.expand('${TARGET_SYS}', d)
|
||||
|
||||
Reference in New Issue
Block a user