Freescale SDK v1.6 kernel and above used libgcc to support Freescale DPAA. Q/Bman. These code appears originally written for userspace, so that it has a dependency on libgcc to do some math that cannot be supported by hardware directly. The make file change does not take into account that a cross-compiler, other than the one shipped from Freescale, needs to be told where the sysroot is, when asked where libgcc is using "--print-libgcc-file-name" option. 12e24eb6b80d77ba1f1c4d5c3f6f02eebad98173 Author: Lu.Jiang <lu.jiang@windriver.com> Date: Thu Sep 4 10:44:25 2014 +0800 powerpc/85xx: Add platform support for the Freescale DPAA Q/BMan [Original patch taken from QorIQ-SDK-V1.6-SOURCE-20140619-yocto.iso] Signed-off-by: Geoff Thorpe <Geoff.Thorpe@freescale.com> Signed-off-by: Bharat Bhushan <Bharat.Bhushan@freescale.com> Signed-off-by: Bogdan Hamciuc <bogdan.hamciuc@freescale.com> Signed-off-by: Hai-Ying Wang <Haiying.Wang@freescale.com> Signed-off-by: Jeffrey Ladouceur <jeffrey.ladouceur@freescale.com> Signed-off-by: Jia-Fei Pan <Jiafei.Pan@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Priyanka Jain <Priyanka.Jain@freescale.com> Signed-off-by: Vakul Garg <vakul@freescale.com> Signed-off-by: Emil Medve <Emilian.Medve@Freescale.com> Signed-off-by: Lu.Jiang <lu.jiang@windriver.com>