From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from eddie.linux-mips.org ([148.251.95.138] helo=cvs.linux-mips.org) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1iprHh-0005BU-DX for ptxdist@pengutronix.de; Fri, 10 Jan 2020 11:12:53 +0100 Received: (from localhost user: 'ladis' uid#1021 fake: STDIN (ladis@eddie.linux-mips.org)) by eddie.linux-mips.org id S23995564AbgAJKMvnwmRy (ORCPT ); Fri, 10 Jan 2020 11:12:51 +0100 Date: Fri, 10 Jan 2020 11:12:45 +0100 From: Ladislav Michl Message-ID: <20200110101245.GA248867@lenoch> MIME-Version: 1.0 Content-Disposition: inline Subject: [ptxdist] [PATCH] [OSELAS.Toolchain] cross-gcc: add Objective-C option List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de Signed-off-by: Ladislav Michl --- Hi, Objective-C is needed to cross compile GNUstep (GNUstep is needed to free myself from Qt and GTK ;-)) rules/cross-gcc.in | 14 ++++++++++++++ rules/cross-gcc.make | 2 ++ 2 files changed, 16 insertions(+) diff --git a/rules/cross-gcc.in b/rules/cross-gcc.in index 5b2f356..76f82c7 100644 --- a/rules/cross-gcc.in +++ b/rules/cross-gcc.in @@ -131,6 +131,20 @@ config CROSS_GCC_LANG_JAVA As GCC is a compiler collection, it can support various languages. Select this for Java support +config CROSS_GCC_LANG_OBJC + bool + prompt "Objective-C" + help + As GCC is a compiler collection, it can support various languages. + Select this for Objective-C support + +config CROSS_GCC_LANG_OBJCXX + bool + prompt "Objective-C++" + help + As GCC is a compiler collection, it can support various languages. + Select this for Objective-C++ support + source "workspace/rules/cross-ecj.in" endif diff --git a/rules/cross-gcc.make b/rules/cross-gcc.make index 8dc77fd..d692476 100644 --- a/rules/cross-gcc.make +++ b/rules/cross-gcc.make @@ -125,6 +125,8 @@ CROSS_GCC_LANG-$(PTXCONF_CROSS_GCC_LANG_C) += c CROSS_GCC_LANG-$(PTXCONF_CROSS_GCC_LANG_CXX) += c++ CROSS_GCC_LANG-$(PTXCONF_CROSS_GCC_LANG_JAVA) += java CROSS_GCC_LANG-$(PTXCONF_CROSS_GCC_LANG_FORTRAN) += fortran +CROSS_GCC_LANG-$(PTXCONF_CROSS_GCC_LANG_OBJC) += objc +CROSS_GCC_LANG-$(PTXCONF_CROSS_GCC_LANG_OBJCXX) += obj-c++ CROSS_GCC_CONF_TOOL := autoconf CROSS_GCC_CONF_OPT := \ -- 2.25.0.rc1 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de