From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] lockfile-progs depends on liblockfile
Date: Tue, 8 Mar 2011 15:36:46 +0100 [thread overview]
Message-ID: <20110308153646.047f791a@surf> (raw)
In-Reply-To: <AANLkTinAu+081B7_fk46-a6e0P0rqbMiMfYqo3k96b0E@mail.gmail.com>
Hello Alexander,
On Tue, 8 Mar 2011 16:22:57 +0200
Alexander Yohananov <yohananov@gmail.com> wrote:
> --- a/lockfile-progs.mk 2011-03-08 15:40:51.145037713 +0200
> +++ b/lockfile-progs.mk 2011-03-08 15:39:35.032038246 +0200
> @@ -11,6 +11,8 @@
> $(addprefix lockfile-,check create remove touch) \
> $(addprefix mail-,lock touchlock unlock)
>
> +LOCKFILE_PROGS_DEPENDENCIES = liblockfile
> +
> define LOCKFILE_PROGS_BUILD_CMDS
> $(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
> endef
Correct. lockfile-progs already selects the liblockfile package in its
Config.in file, but does not depend on it in its .mk file, which is
wrong. Your fix is correct.
> The other possible fix is to add liblockfile to dependencies list in
> usbmount.mk:
> USBMOUNT_DEPENDENCIES = udev lockfile-progs liblockfile (I don't know
> whether the order is important)
No, that wouldn't work. By doing so, you wouldn't have the guarantee
that liblockfile is built before lockfile-progs, so the compilation of
the latter could still fail.
> The problem exists on buildroot-2010.11, but since buildroot-2011.02
> contains exactly the same usbmount, lockfile-progs and liblockfile it
> apparently will appear there as well.
Yes, this issue hasn't been fixed in the latest version.
Do you want to send a proper patch so we can keep your attribution, or
do you want me to send a patch, mentioning your name ?
Regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2011-03-08 14:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-08 14:22 [Buildroot] lockfile-progs depends on liblockfile Alexander Yohananov
2011-03-08 14:36 ` Thomas Petazzoni [this message]
2011-03-08 15:10 ` Alexander Yohananov
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=20110308153646.047f791a@surf \
--to=thomas.petazzoni@free-electrons.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