diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in index 9403aba278..3bce26efd1 100644 --- a/toolchain/gcc/Config.in +++ b/toolchain/gcc/Config.in @@ -74,3 +74,10 @@ config BR2_INSTALL_LIBGCJ 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? + diff --git a/toolchain/gcc/gcc-uclibc-3.x.mk b/toolchain/gcc/gcc-uclibc-3.x.mk index 3457b4a69b..0e400c2360 100644 --- a/toolchain/gcc/gcc-uclibc-3.x.mk +++ b/toolchain/gcc/gcc-uclibc-3.x.mk @@ -49,6 +49,10 @@ TARGET_LANGUAGES:=c endif endif +ifeq ($(BR2_INSTALL_OBJC),y) +TARGET_LANGUAGES:=$(TARGET_LANGUAGES),objc +endif + ############################################################# # # build the first pass gcc compiler