Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Émeric Vigier" <emeric.vigier@savoirfairelinux.com>
To: buildroot@busybox.net
Subject: [Buildroot] How can I force re-compile of a local package with a single command?
Date: Wed, 4 Jun 2014 13:54:19 -0400 (EDT)	[thread overview]
Message-ID: <811570499.488964.1401904459698.JavaMail.root@mail> (raw)
In-Reply-To: <192375957.216176.1401896733024.JavaMail.root@mail>

Hi Makers,

I added a package to buildroot which has a lot of
warnings at compile time. I am currently fixing 
these warnings. But I am annoyed that 
<package>-rebuild does not force recompilation of 
source files (that have not changed). I mean some
files have warnings but still compile. Worth to 
mention that my package is local, i.e. buildroot 
rsyncs my sources, no tarball in dl/.

I need a way to force recompiling them to check 
and fix those warnings. So far I do:

 $ make <package>-dirclean
 $ make <package>

By intuition, I would have thought that:

 $ make <package>-rebuild
 $ make <package>-reconfigure

would do the job, but they don't. IMHO, for local
packages, this is counterintuitive. The thing is,
one might _want_ to recompile an object eventhough
the source has not changed. This is my case here.

Is there a single command I can issue to rebuild
_and_ force recompilation of my local package?

thanks,
Emeric

           reply	other threads:[~2014-06-04 17:54 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <192375957.216176.1401896733024.JavaMail.root@mail>]

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=811570499.488964.1401904459698.JavaMail.root@mail \
    --to=emeric.vigier@savoirfairelinux.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