[LEDE-DEV] [PATCH] uboot-at91: fix build after fpu activation

Hauke Mehrtens hauke at hauke-m.de
Wed Jan 3 15:16:26 PST 2018


Use the default build definitions instead of some custom one. The custom
one added -mfloat-abi=soft which is used in the kernel build and the
normal -mfloat-abi=hard was added in addition which caused a build
problem.

Fixes: 01cc6bd495f31 ("at91: sama5: activate fpu")
Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 package/boot/uboot-at91/Makefile | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/package/boot/uboot-at91/Makefile b/package/boot/uboot-at91/Makefile
index 7c420f1262..ae2e888e83 100644
--- a/package/boot/uboot-at91/Makefile
+++ b/package/boot/uboot-at91/Makefile
@@ -85,10 +85,6 @@ UBOOT_TARGETS := \
 	sama5d4_xplained_spiflash \
 	sama5d4_xplained_nandflash
 
-define Build/Compile
-	+$(MAKE) $(PKG_JOBS) -C $(PKG_BUILD_DIR) \
-		CROSS_COMPILE=$(TARGET_CROSS) \
-		KCFLAGS="$(filter-out -fstack-protector, $(TARGET_CFLAGS))"
-endef
+UBOOT_MAKE_FLAGS:=
 
 $(eval $(call BuildPackage/U-Boot))
-- 
2.11.0




More information about the Lede-dev mailing list