From b7106d48147087b5d907a6143b349f83978ce4bf Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 9 Jan 2023 22:53:00 +0100 Subject: [PATCH] - cortex-strings: fix build --- package/cortex-strings/cortex-strings.mk | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/package/cortex-strings/cortex-strings.mk b/package/cortex-strings/cortex-strings.mk index 0b810593..9f685cd3 100644 --- a/package/cortex-strings/cortex-strings.mk +++ b/package/cortex-strings/cortex-strings.mk @@ -20,6 +20,9 @@ CORTEX_STRINGS_CONF_ENV = \ CORTEX_STRINGS_CONF_OPTS = \ $(TARGET_CONFIGURE_OPTS) \ + --with-cpu=cortex-a9 \ + --with-vfp \ + --without-neon \ --enable-static \ --disable-shared @@ -29,5 +32,10 @@ define CORTEX_STRINGS_AUTOGEN_SH endef CORTEX_STRINGS_PRE_CONFIGURE_HOOKS += CORTEX_STRINGS_AUTOGEN_SH +define CORTEX_STRINGS_PATCH_MAKEFILE + $(SED) 's|-mfpu=vfp|-mfpu=vfpv3-d16|' $(PKG_BUILD_DIR)/Makefile.am +endef +CORTEX_STRINGS_POST_PATCH_HOOKS += CORTEX_STRINGS_PATCH_MAKEFILE + cortex-strings: | $(STATIC_DIR) $(call autotools-package)