From 197d5a8eda5294a393f30034684a4ac8873173d6 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Sat, 3 Jan 2015 14:55:19 +0100 Subject: u-boot-fw-utils: fix compiler options With dizzy we got compiler errors when compiling with the new 4.9 gcc. --- recipes-bsp/u-boot/u-boot-toradex-fsl-fw-utils_git.bb | 2 +- recipes-bsp/u-boot/u-boot-toradex-fw-utils_git.bb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'recipes-bsp') diff --git a/recipes-bsp/u-boot/u-boot-toradex-fsl-fw-utils_git.bb b/recipes-bsp/u-boot/u-boot-toradex-fsl-fw-utils_git.bb index fb9e40a..aba1031 100644 --- a/recipes-bsp/u-boot/u-boot-toradex-fsl-fw-utils_git.bb +++ b/recipes-bsp/u-boot/u-boot-toradex-fsl-fw-utils_git.bb @@ -26,7 +26,7 @@ PR = "r0" S = "${WORKDIR}/git" -EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}"' +EXTRA_OEMAKE = 'CC="${CC}"' inherit uboot-config diff --git a/recipes-bsp/u-boot/u-boot-toradex-fw-utils_git.bb b/recipes-bsp/u-boot/u-boot-toradex-fw-utils_git.bb index 5b301dd..cf74405 100644 --- a/recipes-bsp/u-boot/u-boot-toradex-fw-utils_git.bb +++ b/recipes-bsp/u-boot/u-boot-toradex-fw-utils_git.bb @@ -39,6 +39,7 @@ SRCREV_apalis-t30 = "${SRCREV_T30}" S = "${WORKDIR}/git" #actually this depend on the upstream U-Boot version and not on the machine +CC_remove_tegra3 = "-mfpu=neon" EXTRA_OEMAKE_tegra3 = 'CC="${CC}"' EXTRA_OEMAKE_tegra2 = 'HOSTCC="${CC}" HOSTSTRIP="true"' -- cgit v1.2.3