Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 0/3] Add CONF_ENABLE and CONF_PKG_ENABLE helper functions
Date: Sat, 12 May 2012 13:05:04 +0200	[thread overview]
Message-ID: <20120512130504.7ef01d0f@skate> (raw)
In-Reply-To: <4FAD92BB.5040606@mind.be>

Hello Arnout,

Le Sat, 12 May 2012 00:29:15 +0200,
Arnout Vandecappelle <arnout@mind.be> a ?crit :

>   I agree that it looks too cryptic.  Certainly with the eval and call things.
> And we should indeed try to keep the package .mk files as intuitive as
> possible.
> 
>   However, my purpose was not to save a few lines, but rather to make sure
> that package contributors do things the correct way.

I agree it would have been nice, but there are many things that we
verify during review, and this could be one of the things to verify
when a new package is added, or updates to existing packages are made.

>   I was probably just trying too hard to support all possible use cases.
> What about adding something like:
> 
> SYSTEMD_AUTO_CONF_ENABLE_DEPS += acl
> 
> which would get expanded to the whole ifeq thing in the AUTOTARGETS call?
> This only works if the buildroot package name is the same as the
> --enable/--disable option, but that already catches many cases.

I am still personally not a big fan of this. What's happening is really
too magic.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  parent reply	other threads:[~2012-05-12 11:05 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-28 21:16 [Buildroot] [PATCH 0/3] Add CONF_ENABLE and CONF_PKG_ENABLE helper functions Arnout Vandecappelle
2012-04-28 21:16 ` [Buildroot] [PATCH 1/3] pkg-infra: add " Arnout Vandecappelle
2012-04-28 21:16 ` [Buildroot] [PATCH 2/3] avahi: use CONF_ENABLE and CONF_PKG_ENABLE Arnout Vandecappelle
2012-04-28 21:16 ` [Buildroot] [PATCH 3/3] cairo: " Arnout Vandecappelle
2012-05-07 14:21 ` [Buildroot] [PATCH 0/3] Add CONF_ENABLE and CONF_PKG_ENABLE helper functions Thomas Petazzoni
2012-05-09  8:06   ` Thomas De Schampheleire
2012-05-09  9:35     ` Peter Korsgaard
2012-05-11 22:29   ` Arnout Vandecappelle
2012-05-12  9:03     ` Samuel Martin
2012-05-12 11:42       ` Thomas Petazzoni
2012-05-12 11:05     ` Thomas Petazzoni [this message]
2012-05-12 14:47       ` Arnout Vandecappelle

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=20120512130504.7ef01d0f@skate \
    --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