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

Message ID 20180103231626.26382-1-hauke@hauke-m.de
State Deferred
Delegated to: Hauke Mehrtens
Headers show
  • [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

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


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 \
-define Build/Compile
-		KCFLAGS="$(filter-out -fstack-protector, $(TARGET_CFLAGS))"
 $(eval $(call BuildPackage/U-Boot))