Browse Source

- cortex-strings: fix build

master
vanhofen 2 years ago
parent
commit
b7106d4814
  1. 8
      package/cortex-strings/cortex-strings.mk

8
package/cortex-strings/cortex-strings.mk

@ -20,6 +20,9 @@ CORTEX_STRINGS_CONF_ENV = \
CORTEX_STRINGS_CONF_OPTS = \ CORTEX_STRINGS_CONF_OPTS = \
$(TARGET_CONFIGURE_OPTS) \ $(TARGET_CONFIGURE_OPTS) \
--with-cpu=cortex-a9 \
--with-vfp \
--without-neon \
--enable-static \ --enable-static \
--disable-shared --disable-shared
@ -29,5 +32,10 @@ define CORTEX_STRINGS_AUTOGEN_SH
endef endef
CORTEX_STRINGS_PRE_CONFIGURE_HOOKS += CORTEX_STRINGS_AUTOGEN_SH 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) cortex-strings: | $(STATIC_DIR)
$(call autotools-package) $(call autotools-package)

Loading…
Cancel
Save