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

Message ID 20180103231626.26382-1-hauke@hauke-m.de
State New
Delegated to: Hauke Mehrtens
Headers show
Series
  • [LEDE-DEV] uboot-at91: fix build after fpu activation
Related show

Commit Message

Hauke Mehrtens Jan. 3, 2018, 11:16 p.m.
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@hauke-m.de>
---
 package/boot/uboot-at91/Makefile | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

Patch

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))