All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 5/8] linux: add the generic help rules
Date: Thu, 10 Mar 2016 21:29:13 +0100	[thread overview]
Message-ID: <20160310202913.GE3424@free.fr> (raw)
In-Reply-To: <56E0B5F5.9040109@mind.be>

On 2016-03-10 00:47 +0100, Arnout Vandecappelle spake thusly:
> On 03/09/16 23:22, Yann E. MORIN wrote:
> >Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> >Cc: J?r?me Pouiller <jezz@sysmic.org>
> >Cc: Arnout Vandecappelle <arnout@mind.be>
> >Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
> >---
> >  Makefile       | 6 ------
> >  linux/linux.mk | 6 ++++++
> >  2 files changed, 6 insertions(+), 6 deletions(-)
> >
> >diff --git a/Makefile b/Makefile
> >index 8134a14..cdf2dac 100644
> >--- a/Makefile
> >+++ b/Makefile
> >@@ -933,12 +933,6 @@ help:
> >  	@echo '  <pkg>-reconfigure      - Restart the build from the configure step'
> >  	@echo '  <pkg>-rebuild          - Restart the build from the build step'
> >  	@$(call HELP_RULE,$(PACKAGE_HELP))
> >-ifeq ($(BR2_LINUX_KERNEL),y)
> >-	@echo '  linux-menuconfig       - Run Linux kernel menuconfig'
> >-	@echo '  linux-savedefconfig    - Run Linux kernel savedefconfig'
> >-	@echo '  linux-update-defconfig - Save the Linux configuration to the path specified'
> >-	@echo '                             by BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE'
> >-endif
> >  ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
> >  	@echo '  uclibc-menuconfig      - Run uClibc menuconfig'
> >  endif
> >diff --git a/linux/linux.mk b/linux/linux.mk
> >index 7e20255..d530d00 100644
> >--- a/linux/linux.mk
> >+++ b/linux/linux.mk
> >@@ -8,6 +8,12 @@ LINUX_VERSION = $(call qstrip,$(BR2_LINUX_KERNEL_VERSION))
> >  LINUX_LICENSE = GPLv2
> >  LINUX_LICENSE_FILES = COPYING
> >
> >+LINUX_HELP = \
> >+	"linux-menuconfig : Run Linux kernel menuconfig" \
> >+	"linux-savedefconfig : Run Linux kernel savedefconfig" \
> >+	"linux-update-defconfig : Save the Linux configuration to the path specified \
> >+				  by BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE"
> 
>  So now this will be printed on a single line, instead of being split like
> it was before. Well, J?r?me's patch already did that as well I guess.
> 
>  Fixing that properly would make the HELP_RULE a bit too complicated, but
> starting the continuation line with " :   by..." doesn't look too shabby.
> 
>  I was also thinking that a define would have been better, but that doesn't
> work unfortunately.

I have fixed it here. It works for any arbitrary number of needed extra
lines.

/me expects some flaming for a trivial sed expression... ;-)

Regards,
Yann E. MORIN.

>  Regards,
>  Arnout
> 
> >+
> >  # Compute LINUX_SOURCE and LINUX_SITE from the configuration
> >  ifeq ($(BR2_LINUX_KERNEL_CUSTOM_TARBALL),y)
> >  LINUX_TARBALL = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION))
> >
> 
> 
> -- 
> Arnout Vandecappelle                          arnout at mind be
> Senior Embedded Software Architect            +32-16-286500
> Essensium/Mind                                http://www.mind.be
> G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
> LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
> GPG fingerprint:  7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  parent reply	other threads:[~2016-03-10 20:29 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-09 22:22 [Buildroot] [PATCH 0/8] core: allow for custom, local help; rearrange package-specific help (branch yem/help) Yann E. MORIN
2016-03-09 22:22 ` [Buildroot] [PATCH 1/8] core: add the possibility to provide help for local, custom rules Yann E. MORIN
2016-03-09 23:35   ` Arnout Vandecappelle
2016-03-10 20:22     ` Yann E. MORIN
2016-03-11  0:01       ` Arnout Vandecappelle
2016-03-09 22:22 ` [Buildroot] [PATCH 2/8] core/pkg-utils: add a macro to pretty-print a help entry Yann E. MORIN
2016-03-09 23:37   ` Arnout Vandecappelle
2016-03-10  9:31     ` Jérôme Pouiller
2016-03-10 20:27       ` Yann E. MORIN
2016-03-10 20:24     ` Yann E. MORIN
2016-03-09 22:22 ` [Buildroot] [PATCH 3/8] core/pkg-generic: add help about package-specific rules Yann E. MORIN
2016-03-09 23:38   ` Arnout Vandecappelle
2016-03-09 22:22 ` [Buildroot] [PATCH 4/8] package/busybox: use the generic help rules Yann E. MORIN
2016-03-09 23:38   ` Arnout Vandecappelle
2016-03-09 22:22 ` [Buildroot] [PATCH 5/8] linux: add " Yann E. MORIN
2016-03-09 23:47   ` Arnout Vandecappelle
2016-03-10  9:21     ` Jérôme Pouiller
2016-03-10  9:39       ` Thomas Petazzoni
2016-03-10  9:52         ` Arnout Vandecappelle
2016-03-10 10:12           ` Thomas Petazzoni
2016-03-10 20:34         ` Yann E. MORIN
2016-03-10 20:58           ` Thomas Petazzoni
2016-03-10 20:29     ` Yann E. MORIN [this message]
2016-03-09 22:22 ` [Buildroot] [PATCH 6/8] package/uclibc: use " Yann E. MORIN
2016-03-09 23:47   ` Arnout Vandecappelle
2016-03-09 22:22 ` [Buildroot] [PATCH 7/8] boot/barebox: " Yann E. MORIN
2016-03-09 23:47   ` Arnout Vandecappelle
2016-03-09 22:22 ` [Buildroot] [PATCH 8/8] docs/manual: document the br2-external help-local Yann E. MORIN
2016-03-09 23:35 ` [Buildroot] [PATCH 0/8] core: allow for custom, local help; rearrange package-specific help (branch yem/help) Arnout Vandecappelle
2016-03-10  8:31   ` Thomas Petazzoni
2016-03-10 20:20     ` Yann E. MORIN
2016-03-10 21:01   ` Thomas Petazzoni

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=20160310202913.GE3424@free.fr \
    --to=yann.morin.1998@free.fr \
    --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.