initial, gcc intermediate and gcc final passes.
config BR2_INSTALL_OBJC
- bool "Build/install Objective-C compiler and runtime?"
+ bool "Enable Objective-C support"
depends on !BR2_avr32
help
- Build/install Objective-C compiler and runtime?
+ Enable the support for the Objective-C language in the
+ cross-compiler, and install the Objective-C runtime to the
+ target.
config BR2_INSTALL_FORTRAN
bool "Enable Fortran support"
GCC_FINAL_CROSS_LANGUAGES-y = c
GCC_FINAL_CROSS_LANGUAGES-$(BR2_INSTALL_LIBSTDCPP) += c++
GCC_FINAL_CROSS_LANGUAGES-$(BR2_INSTALL_FORTRAN) += fortran
-GCC_FINAL_CROSS_LANGUAGES-$(BR2_GCC_CROSS_OBJC) += objc
+GCC_FINAL_CROSS_LANGUAGES-$(BR2_INSTALL_OBJC) += objc
GCC_FINAL_CROSS_LANGUAGES = $(subst $(space),$(comma),$(GCC_FINAL_CROSS_LANGUAGES-y))
HOST_GCC_FINAL_CONF_OPT = \
HOST_GCC_FINAL_USR_LIBS += libgfortran
endif
+ifeq ($(BR2_INSTALL_OBJC),y)
+HOST_GCC_FINAL_USR_LIBS += libobjc
+endif
+
ifneq ($(HOST_GCC_FINAL_USR_LIBS),)
define HOST_GCC_FINAL_INSTALL_USR_LIBS
mkdir -p $(TARGET_DIR)/usr/lib