usdpaa: remove default -mcpu=e500mc64 in Makefile
PATCH 1/1 usdpaa: remove default -mcpu=e500mc64 in Makefile
It explicitly support -mcpu=e500mc64 by default, for p1022ds bsp (ppce500v2), the cpu type is '-mcpu=8554' which causes compile failed.
...
| [CC] process.c (lib:usdpaa_process) | src/process/process.c:1:0: error: SPE not supported in this target | /* Copyright (c) 2011 Freescale Semiconductor, Inc. | ^ | make: *** [src/process/objs_powerpc/usdpaa_process_process.o] Error 1
...
Remove default -mcpu=e500mc64 in Makefile could fix the issue.
Signed-off-by Hongxu Jia <[email protected]>
--- recipes-dpaa/usdpaa/usdpaa_git.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
recipes-dpaa/usdpaa/usdpaa_git.bb +3 -1
@@ -9,7 +9,9 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" DEPENDS += "flib" -SRC_URI = "git://git.freescale.com/ppc/sdk/usdpaa.git;branch=sdk-v1.9.x" +SRC_URI = "git://git.freescale.com/ppc/sdk/usdpaa.git;branch=sdk-v1.9.x \ + file://remove-default-mcpu-e500mc64.patch \ +" SRCREV = "b73546dc923d9f3df92af08c2ebaf36d83ab96ea" S = "${WORKDIR}/git"
Signature · 1 line
1.9.1