This patch adds an option in GCC config to compile Objective-C language support
in the toolchain. It is disabled by default, so it is not intrusive.
depends on BR2_INSTALL_LIBSTDCPP
help
Build/install java compiler and libgcj?
+
+config BR2_INSTALL_OBJC
+ bool "Build/install Objective-C compiler and runtime?"
+ default n
+ help
+ Build/install Objective-C compiler and runtime?
+
endif
endif
+ifeq ($(BR2_INSTALL_OBJC),y)
+TARGET_LANGUAGES:=$(TARGET_LANGUAGES),objc
+endif
+
#############################################################
#
# build the first pass gcc compiler