All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] linux: add shorter shortcuts
@ 2010-11-18 10:24 Mike Frysinger
  2010-11-18 10:46 ` Thomas Petazzoni
  2010-11-18 11:31 ` [Buildroot] [PATCH v2] " Mike Frysinger
  0 siblings, 2 replies; 4+ messages in thread
From: Mike Frysinger @ 2010-11-18 10:24 UTC (permalink / raw)
  To: buildroot

We only have one Linux kernel package, and "linux26-" is an anachronism
in today's world.  So add useful "linux-%" shortcuts to the "linux26-%".

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
 linux/linux.mk |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/linux/linux.mk b/linux/linux.mk
index fb858b0..4ab519b 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -188,3 +188,6 @@ endif
 endif
 
 endif
+
+linux-%:
+	$(MAKE) $(subst linux-,linux26-,$@)
-- 
1.7.3.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH] linux: add shorter shortcuts
  2010-11-18 10:24 [Buildroot] [PATCH] linux: add shorter shortcuts Mike Frysinger
@ 2010-11-18 10:46 ` Thomas Petazzoni
  2010-11-18 11:31 ` [Buildroot] [PATCH v2] " Mike Frysinger
  1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2010-11-18 10:46 UTC (permalink / raw)
  To: buildroot

On Thu, 18 Nov 2010 05:24:43 -0500
Mike Frysinger <vapier@gentoo.org> wrote:

> We only have one Linux kernel package, and "linux26-" is an
> anachronism in today's world.  So add useful "linux-%" shortcuts to
> the "linux26-%".
> 
> Signed-off-by: Mike Frysinger <vapier@gentoo.org>

Could you please update the documentation at the same time ? This way,
we could get rid of the linux26-% targets in next releases.

Thanks,

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH v2] linux: add shorter shortcuts
  2010-11-18 10:24 [Buildroot] [PATCH] linux: add shorter shortcuts Mike Frysinger
  2010-11-18 10:46 ` Thomas Petazzoni
@ 2010-11-18 11:31 ` Mike Frysinger
  2010-12-11  1:02   ` Peter Korsgaard
  1 sibling, 1 reply; 4+ messages in thread
From: Mike Frysinger @ 2010-11-18 11:31 UTC (permalink / raw)
  To: buildroot

We only have one Linux kernel package, and "linux26-" is an anachronism
in today's world.  So add useful "linux-%" shortcuts to the "linux26-%".

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
---
v2
	- update files in docs/ too

 docs/README         |    2 +-
 docs/buildroot.html |    2 +-
 linux/linux.mk      |    3 +++
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/docs/README b/docs/README
index c330a60..e756329 100644
--- a/docs/README
+++ b/docs/README
@@ -53,7 +53,7 @@ $ make HOSTCC=gcc-4.3.orig HOSTCXX=gcc-4.3-mine
 
 Depending on your configuration, there are some targets you can use to
 use menuconfig of certain packages. This includes:
-$ make HOSTCC=gcc-4.3 linux26-menuconfig
+$ make HOSTCC=gcc-4.3 linux-menuconfig
 $ make HOSTCC=gcc-4.3 uclibc-menuconfig
 $ make HOSTCC=gcc-4.3 busybox-menuconfig
 
diff --git a/docs/buildroot.html b/docs/buildroot.html
index 0a0114a..06ab8ed 100644
--- a/docs/buildroot.html
+++ b/docs/buildroot.html
@@ -432,7 +432,7 @@
 
     <p>The Linux kernel configuration can be customized just like
     <a href="#custom_busybox">BusyBox</a> and
-    <a href="#custom_uclibc">uClibc</a> using <code>make linux26-menuconfig
+    <a href="#custom_uclibc">uClibc</a> using <code>make linux-menuconfig
     </code>. Make sure you have enabled the kernel build in <code>make
     menuconfig</code> first. Once done, run <code>make</code> to (re)build
     everything.</p>
diff --git a/linux/linux.mk b/linux/linux.mk
index fb858b0..4ab519b 100644
--- a/linux/linux.mk
+++ b/linux/linux.mk
@@ -188,3 +188,6 @@ endif
 endif
 
 endif
+
+linux-%:
+	$(MAKE) $(subst linux-,linux26-,$@)
-- 
1.7.3.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH v2] linux: add shorter shortcuts
  2010-11-18 11:31 ` [Buildroot] [PATCH v2] " Mike Frysinger
@ 2010-12-11  1:02   ` Peter Korsgaard
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2010-12-11  1:02 UTC (permalink / raw)
  To: buildroot

>>>>> "Mike" == Mike Frysinger <vapier@gentoo.org> writes:

 Mike> We only have one Linux kernel package, and "linux26-" is an anachronism
 Mike> in today's world.  So add useful "linux-%" shortcuts to the "linux26-%".

Committed, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-12-11  1:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-18 10:24 [Buildroot] [PATCH] linux: add shorter shortcuts Mike Frysinger
2010-11-18 10:46 ` Thomas Petazzoni
2010-11-18 11:31 ` [Buildroot] [PATCH v2] " Mike Frysinger
2010-12-11  1:02   ` Peter Korsgaard

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.