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)