Received: from mail-px0-f175.google.com ([209.85.212.175]) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1OcbC3-0006In-B1 for openembedded-devel@lists.openembedded.org; Sat, 24 Jul 2010 11:38:56 +0200 Received: by pxi12 with SMTP id 12so1845567pxi.6 for ; Sat, 24 Jul 2010 02:38:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:date :message-id:x-mailer; bh=9qng/hImPBtBYqV9td9QQOSuAOiToM4tXyDzHEymEZk=; b=q6g0jmOCeBwHID9pXT15L/YAIrl8FfI6UZvRMEz+vcTZkbbc0yGuMv4d/sgkU96p2Q P9vc7UeIVi8SvWa14ZUiRLgv+HcaFvMtirfL7A/OFOWlQrfyvqfXo41OdGBhMJ2MCs+i q4w/VHYcI2QZauH6423PCw4n/KcKCS7l1stO8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:date:message-id:x-mailer; b=Pf2jVIVXvLZ/o1B7/Og2GaSycz/MPg3tCb0G1xpx4oDXCmqf1VvhueJsjB/zN1/VKC gXCv7AdpU+9UbQogE/fHNWp1Z1l5boTS3cOW3CfLt0m2L3FQaQ+jgBGFhiAjFoJNgh8Z iFaC2MXR165huBgHrJZluB+ui/JUUAcdSS3Ac= Received: by 10.142.211.6 with SMTP id j6mr5556028wfg.182.1279964320496; Sat, 24 Jul 2010 02:38:40 -0700 (PDT) Received: from localhost.localdomain (99-57-141-118.lightspeed.sntcca.sbcglobal.net [99.57.141.118]) by mx.google.com with ESMTPS id n2sm1409791wfl.13.2010.07.24.02.38.39 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 24 Jul 2010 02:38:39 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sat, 24 Jul 2010 02:38:33 -0700 Message-Id: <1279964313-4401-1-git-send-email-raj.khem@gmail.com> X-Mailer: git-send-email 1.7.1 X-SA-Exim-Connect-IP: 209.85.212.175 X-SA-Exim-Mail-From: raj.khem@gmail.com X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on discovery X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.2.5 X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Subject: [PATCH 3/3, v2] gcc-cross: Use EXTRA_OECONF_PATHS in initial and intermediate recipes. X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jul 2010 09:38:56 -0000 hmmm missed a file last time. This one should be better. * Add new configure time option --with-build-time-tools Signed-off-by: Khem Raj --- recipes/gcc/gcc-configure-cross.inc | 5 +++-- recipes/gcc/gcc-cross-initial.inc | 3 +-- recipes/gcc/gcc-cross-intermediate.inc | 3 +-- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/recipes/gcc/gcc-configure-cross.inc b/recipes/gcc/gcc-configure-cross.inc index 8b97b09..869ac5e 100644 --- a/recipes/gcc/gcc-configure-cross.inc +++ b/recipes/gcc/gcc-configure-cross.inc @@ -3,9 +3,10 @@ require gcc-configure-common.inc USE_NLS = '${@base_conditional( "TARGET_OS", "linux-uclibc", "no", "", d )}' EXTRA_OECONF_PATHS = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \ - --with-gxx-include-dir=${STAGING_DIR_TARGET}/${target_includedir}/c++ \ + --with-gxx-include-dir=${STAGING_DIR_TARGET}${target_includedir}/c++ \ --with-sysroot=${STAGING_DIR_TARGET} \ - --with-build-sysroot=${STAGING_DIR_TARGET}" + --with-build-sysroot=${STAGING_DIR_TARGET} \ + --with-build-time-tools=${bindir}" do_configure_prepend () { export CC="${BUILD_CC}" diff --git a/recipes/gcc/gcc-cross-initial.inc b/recipes/gcc/gcc-cross-initial.inc index 25d7ba5..b153322 100644 --- a/recipes/gcc/gcc-cross-initial.inc +++ b/recipes/gcc/gcc-cross-initial.inc @@ -13,8 +13,7 @@ EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \ --disable-__cxa_atexit \ --enable-languages=c \ --program-prefix=${TARGET_PREFIX} \ - --with-sysroot=${STAGING_DIR_TARGET} \ - --with-build-sysroot=${STAGING_DIR_TARGET} \ + ${EXTRA_OECONF_PATHS} \ ${EXTRA_OECONF_INITIAL} \ ${OPTSPACE} \ ${@get_gcc_fpu_setting(bb, d)} \ diff --git a/recipes/gcc/gcc-cross-intermediate.inc b/recipes/gcc/gcc-cross-intermediate.inc index cbc8638..6dbdb94 100644 --- a/recipes/gcc/gcc-cross-intermediate.inc +++ b/recipes/gcc/gcc-cross-intermediate.inc @@ -11,8 +11,7 @@ EXTRA_OECONF = "--with-local-prefix=${STAGING_DIR_TARGET}${target_prefix} \ --disable-threads \ --enable-languages=c \ --program-prefix=${TARGET_PREFIX} \ - --with-sysroot=${STAGING_DIR_TARGET} \ - --with-build-sysroot=${STAGING_DIR_TARGET} \ + ${EXTRA_OECONF_PATHS} \ ${OPTSPACE} \ ${EXTRA_OECONF_INTERMEDIATE} \ ${@get_gcc_fpu_setting(bb, d)} \ -- 1.7.1