From 140eb6a3ef58446a1256b3e8de0d5cee0fd3dcb4 Mon Sep 17 00:00:00 2001 From: Chunrong Guo Date: Fri, 11 Jan 2019 03:15:11 +0000 Subject: u-boot-qoriq: update sysroot path *fix the below error |powerpc-fslmllib32-linux-ld: cannot find -lgcc Signed-off-by: Chunrong Guo --- recipes-bsp/u-boot/u-boot-qoriq_2018.09.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes-bsp') diff --git a/recipes-bsp/u-boot/u-boot-qoriq_2018.09.bb b/recipes-bsp/u-boot/u-boot-qoriq_2018.09.bb index d01efdd5..8438134d 100644 --- a/recipes-bsp/u-boot/u-boot-qoriq_2018.09.bb +++ b/recipes-bsp/u-boot/u-boot-qoriq_2018.09.bb @@ -22,7 +22,7 @@ python () { raise bb.parse.SkipPackage("Building the u-boot for this arch requires multilib to be enabled") sys_multilib = d.getVar('TARGET_VENDOR') + 'mllib32-linux' sys_original = d.getVar('TARGET_VENDOR') + '-' + d.getVar('TARGET_OS') - workdir = d.getVar('WORKDIR').replace(sys_original,sys_multilib) + workdir = d.getVar('WORKDIR') d.setVar('DEPENDS_append', ' lib32-gcc-cross-powerpc lib32-libgcc') d.setVar('PATH_append', ':' + d.getVar('STAGING_BINDIR_NATIVE') + '/powerpc' + sys_multilib) d.setVar('TOOLCHAIN_OPTIONS', '--sysroot=' + workdir + '/lib32-recipe-sysroot') @@ -32,7 +32,7 @@ python () { raise bb.parse.SkipRecipe("Building the u-boot for this arch requires multilib to be enabled") sys_multilib = d.getVar('TARGET_VENDOR') + 'mllib64-linux' sys_original = d.getVar('TARGET_VENDOR') + '-' + d.getVar('TARGET_OS') - workdir = d.getVar('WORKDIR').replace(sys_original,sys_multilib) + workdir = d.getVar('WORKDIR') d.setVar('DEPENDS_append', ' lib64-gcc-cross-aarch64 lib64-libgcc') d.setVar('PATH_append', ':' + d.getVar('STAGING_BINDIR_NATIVE') + '/aarch64' + sys_multilib) d.setVar('TOOLCHAIN_OPTIONS', '--sysroot=' + workdir + '/lib64-recipe-sysroot') -- cgit v1.2.3-54-g00ecf