[LEDE-DEV] [PATCH v1 1/1] uboot-at91: fix build after fpu activation
Sandeep Sheriker Mallikarjun
sandeepsheriker.mallikarjun at microchip.com
Thu Jan 4 11:43:23 PST 2018
neon and VFPv4 support is added to this target and uboot-at91 build
fails due to TARGET_CFLAGS -mfloat-abi set to hard. as a fix, setting
uboot-at91 CFLAGS -mfloat-abi=soft.
Signed-off-by: Sandeep Sheriker Mallikarjun <sandeepsheriker.mallikarjun at microchip.com>
---
package/boot/uboot-at91/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/boot/uboot-at91/Makefile b/package/boot/uboot-at91/Makefile
index 7c420f1..268b254 100644
--- a/package/boot/uboot-at91/Makefile
+++ b/package/boot/uboot-at91/Makefile
@@ -88,7 +88,7 @@ UBOOT_TARGETS := \
define Build/Compile
+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
CROSS_COMPILE=$(TARGET_CROSS) \
- KCFLAGS="$(filter-out -fstack-protector, $(TARGET_CFLAGS))"
+ KCFLAGS="$(filter-out -fstack-protector -mfloat-abi=hard, $(TARGET_CFLAGS)) -mfloat-abi=soft"
endef
$(eval $(call BuildPackage/U-Boot))
--
2.7.4
More information about the Lede-dev
mailing list