Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Bernhard Fischer <rep.dot.nop@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] improved deps [was Re: svn commit: trunk/buildroot: package/config]
Date: Sun, 8 Jul 2007 02:10:49 +0200	[thread overview]
Message-ID: <20070708001049.GC4096@aon.at> (raw)
In-Reply-To: <20070708000018.9AFEEA686B@busybox.net>

On Sat, Jul 07, 2007 at 05:00:18PM -0700, aldot at uclibc.org wrote:
>Author: aldot
>Date: 2007-07-07 17:00:17 -0700 (Sat, 07 Jul 2007)
>New Revision: 19025
>
>Log:
>- silence a cosmetic warning (closes several issues in mantis).
>  This also provides a nice up-to-date filestamp if something got reconfigured (e.g. c++ support got toggled) that can be used in the future to depend accordingly.

e.g.:
Index: toolchain/gcc/gcc-uclibc-4.x.mk
===================================================================
--- toolchain/gcc/gcc-uclibc-4.x.mk	(revision 19022)
+++ toolchain/gcc/gcc-uclibc-4.x.mk	(working copy)
@@ -48,10 +48,14 @@ endif
 #
 #############################################################
 
+GCC_TARGET_PREREQ =
+GCC_STAGING_PREREQ= $(STAGING_DIR)/usr/lib/libc.a
+
 GCC_TARGET_LANGUAGES:=c
 
 ifeq ($(BR2_INSTALL_LIBSTDCPP),y)
 GCC_TARGET_LANGUAGES:=$(GCC_TARGET_LANGUAGES),c++
+GCC_TARGET_PREREQ += $(BASE_DIR)/include/config/br2/install/libstdcpp.h
 endif
 
 ifeq ($(BR2_INSTALL_LIBGCJ),y)
@@ -62,9 +66,6 @@ ifeq ($(BR2_INSTALL_OBJC),y)
 GCC_TARGET_LANGUAGES:=$(GCC_TARGET_LANGUAGES),objc
 endif
 
-GCC_TARGET_PREREQ =
-GCC_STAGING_PREREQ= $(STAGING_DIR)/usr/lib/libc.a
-
 ifndef GCC_NO_MPFR
 GCC_WITH_HOST_GMP=--with-gmp=$(GMP_HOST_DIR)
 GCC_WITH_HOST_MPFR=--with-mpfr=$(MPFR_HOST_DIR)
@@ -75,6 +76,7 @@ GCC_TARGET_LANGUAGES:=$(GCC_TARGET_LANGU
 #GCC_STAGING_PREREQ+= $(TOOL_BUILD_DIR)/mpfr/lib/libmpfr.so
 GCC_WITH_TARGET_GMP=--with-gmp="$(GMP_TARGET_DIR)"
 GCC_WITH_TARGET_MPFR=--with-mpfr="$(MPFR_TARGET_DIR)"
+GCC_TARGET_PREREQ += $(BASE_DIR)/include/config/br2/install/fortran.h
 endif
 endif # ifndef GCC_NO_MPFR

or the like. This potentially fixes the situation where you previously
could not really do a full build, then turn e.g. c++ support on and
execute make again. Patches welcome.

  reply	other threads:[~2007-07-08  0:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-08  0:00 [Buildroot] svn commit: trunk/buildroot: package/config aldot at uclibc.org
2007-07-08  0:10 ` Bernhard Fischer [this message]
2007-07-08 12:59   ` [Buildroot] improved deps [was Re: svn commit: trunk/buildroot: package/config] Bernhard Fischer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070708001049.GC4096@aon.at \
    --to=rep.dot.nop@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox