[meta-freescale] [meta-fsl-ppc][PATCH] usdpaa: remove default -mcpu=e500mc64 in Makefile
Hongxu Jia
hongxu.jia at windriver.com
Wed Mar 9 02:34:36 PST 2016
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 <hongxu.jia at windriver.com>
---
recipes-dpaa/usdpaa/usdpaa_git.bb | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/recipes-dpaa/usdpaa/usdpaa_git.bb b/recipes-dpaa/usdpaa/usdpaa_git.bb
index e636261..140a1c0 100644
--- a/recipes-dpaa/usdpaa/usdpaa_git.bb
+++ b/recipes-dpaa/usdpaa/usdpaa_git.bb
@@ -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"
--
1.9.1
More information about the meta-freescale
mailing list