Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Korsgaard <jacmet@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] *Tons* of BR warnings like "package/Makefile.autotools.in:179: warning: overriding commands for target `/home/bjornfor/raid/forks/buildroot/output'"
Date: Fri, 11 Dec 2009 14:59:43 +0100	[thread overview]
Message-ID: <87zl5ptxv4.fsf@macbook.be.48ers.dk> (raw)
In-Reply-To: <5f2b60912110514o79498b66lae1603f5f4fe6345@mail.gmail.com> ("Bjørn Forsman"'s message of "Fri, 11 Dec 2009 14:14:13 +0100")

>>>>> "Bj?rn" == Bj?rn Forsman <bjorn.forsman@gmail.com> writes:

 Bj?rn> i386 build fails:
 Bj?rn> ----
 Bj?rn> $ make i386_defconfig && make
 Bj?rn> ...snip lots of warnings...
 Bj?rn> package/mtd/mtd-utils/mtd.mk:98: warning: overriding commands for
 Bj?rn> target `/home/bjornfor/dev/buildroot/output'
 Bj?rn> package/mtd/mtd-utils/mtd.mk:65: warning: ignoring old commands for
 Bj?rn> target `/home/bjornfor/dev/buildroot/output'
 Bj?rn> package/mtd/mtd-utils/mtd.mk:97: target
 Bj?rn> `/home/bjornfor/dev/buildroot/output' given more than once in the same
 Bj?rn> rule.

To me it sounds as if somehow a space has sneaked into the definition of
BUILD_DIR - E.G. that line has a long list of BUILD_DIR/mtd_orig/<blah>.

Could you add something like this to mtd.mk and run make test:

diff --git a/package/mtd/mtd-utils/mtd.mk b/package/mtd/mtd-utils/mtd.mk
index a686661..3049f8e 100644
--- a/package/mtd/mtd-utils/mtd.mk
+++ b/package/mtd/mtd-utils/mtd.mk
@@ -20,6 +20,9 @@ MTD_NAME:=mtd-utils-$(MTD_VERSION)
 MKFS_JFFS2 := $(MTD_HOST_DIR)/mkfs.jffs2
 SUMTOOL := $(MTD_HOST_DIR)/sumtool
 
+test:
+       echo "MTD_DIR='$(MTD_DIR)'"
+

Here it gives:

echo "MTD_DIR='/home/peko/source/buildroot/output/build/mtd_orig'"
MTD_DIR='/home/peko/source/buildroot/output/build/mtd_orig'

-- 
Bye, Peter Korsgaard

  reply	other threads:[~2009-12-11 13:59 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-10 20:34 [Buildroot] *Tons* of BR warnings like "package/Makefile.autotools.in:179: warning: overriding commands for target `/home/bjornfor/raid/forks/buildroot/output'" Bjørn Forsman
2009-12-11 10:09 ` Kieran Bingham
2009-12-11 10:36   ` Bjørn Forsman
2009-12-11 11:16     ` Peter Korsgaard
2009-12-11 13:14       ` Bjørn Forsman
2009-12-11 13:59         ` Peter Korsgaard [this message]
2009-12-11 14:53           ` Bjørn Forsman
2009-12-11 15:23             ` Peter Korsgaard
2009-12-13 20:51               ` Bjørn Forsman
2009-12-13 21:28                 ` Peter Korsgaard
2009-12-14  9:25                   ` Bjørn Forsman
2009-12-11 11:18     ` Thomas Petazzoni
2009-12-11 13:23       ` Bjørn Forsman
2009-12-11 13:35         ` Marc Egli

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=87zl5ptxv4.fsf@macbook.be.48ers.dk \
    --to=jacmet@uclibc.org \
    --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