[uClibc-cvs] svn commit: trunk/buildroot/toolchain/gcc

andersen at uclibc.org andersen at uclibc.org
Wed Mar 2 07:30:27 UTC 2005


Author: andersen
Date: 2005-03-02 00:30:26 -0700 (Wed, 02 Mar 2005)
New Revision: 9953

Log:
simplify target language selection to remove nasty nested ifeq


Modified:
   trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk


Changeset:
Modified: trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk
===================================================================
--- trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2005-03-02 07:07:22 UTC (rev 9952)
+++ trunk/buildroot/toolchain/gcc/gcc-uclibc-3.x.mk	2005-03-02 07:30:26 UTC (rev 9953)
@@ -39,16 +39,20 @@
 #
 #############################################################
 
-ifeq ($(BR2_INSTALL_LIBGCJ),y)
-TARGET_LANGUAGES:=c,c++,java
-else
+TARGET_LANGUAGES:=c
+
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
-TARGET_LANGUAGES:=c,c++
-else
-TARGET_LANGUAGES:=c
+TARGET_LANGUAGES:=$(TARGET_LANGUAGES),c++
 endif
+
+ifeq ($(BR2_INSTALL_LIBGCJ),y)
+TARGET_LANGUAGES:=$(TARGET_LANGUAGES),java
 endif
 
+ifeq ($(BR2_INSTALL_OBJC),y)
+TARGET_LANGUAGES:=$(TARGET_LANGUAGES),objc
+endif
+
 #############################################################
 #
 # build the first pass gcc compiler




More information about the uClibc-cvs mailing list