All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] Makefile.package.in: Pass non-prefixed name as argument to GENTARGETS_INNER.
Date: Tue, 19 Jul 2011 20:29:14 +0200	[thread overview]
Message-ID: <20110719202914.375e8de0@skate> (raw)
In-Reply-To: <1310982367-20976-1-git-send-email-quotientvremainder@gmail.com>

Le Mon, 18 Jul 2011 10:46:07 +0100,
Quotient Remainder <quotientvremainder@gmail.com> a ?crit :

> Instead of effectively running s/^host-// on the package name, just
> pass the non-prefixed name to GENTARGETS_INNER.  This removes the
> need to ban packages with names starting with "host-".
> 
> Signed-off-by: Quotient Remainder <quotientvremainder@gmail.com>

I have taken this patch in my branch dedicated to package
infrastructure improvements, but did the following changes :

 * Updated the AUTOTARGETS and CMAKETARGETS infrastructures as well

 * Put the new argument in position 2 of GENTARGETS_INNER instead of
   the last argument. It requires a lot of renaming inside
   GENTARGETS_INNER, but it is a lot cleaner to have arg 1, lowercase
   package name with host-, arg 2, lowercase package name without
   host-, arg 3 uppercase package name with HOST_, arg 4, uppercase
   package name without HOST_

It will be part of an upcoming pull requests with various improvements
to the package infrastructure.

Thanks !

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

      reply	other threads:[~2011-07-19 18:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-18  9:46 [Buildroot] [PATCH] Makefile.package.in: Pass non-prefixed name as argument to GENTARGETS_INNER Quotient Remainder
2011-07-19 18:29 ` Thomas Petazzoni [this message]

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=20110719202914.375e8de0@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.