Skip to contentSkip to conversation

linux: add shorter shortcuts

PATCH Superseded Mike Frysinger 3 participants 4 messages Nov 18, 2010 – Dec 11, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux: add shorter shortcuts

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

---
 linux/linux.mk |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
linux/linux.mk +3 -0
index fb858b0..4ab519b 100644
@@ -188,3 +188,6 @@ endif
 endif
 
 endif
+
+linux-%:
+	$(MAKE) $(subst linux-,linux26-,$@)
Signature · 1 line
1.7.3.2
#1 lore raw

PATCH 1/1 linux: add shorter shortcuts

Quoted 5 lines · On Thu, 18 Nov 2010 05:24:43 -0500 Mike Frysinger <[email protected]> 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-%".

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

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
#2 lore raw

PATCH v2 1/1 linux: add shorter shortcuts

In reply to Mike Frysinger

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

---
v2
- update files in docs/ too

 docs/README         |    2 +-
 docs/buildroot.html |    2 +-
 linux/linux.mk      |    3 +++
 3 files changed, 5 insertions(+), 2 deletions(-)
docs/README +1 -1
index c330a60..e756329 100644
@@ -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
 
docs/buildroot.html +1 -1
index 0a0114a..06ab8ed 100644
@@ -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>
linux/linux.mk +3 -0
index fb858b0..4ab519b 100644
@@ -188,3 +188,6 @@ endif
 endif
 
 endif
+
+linux-%:
+	$(MAKE) $(subst linux-,linux26-,$@)
Signature · 1 line
1.7.3.2
#3 lore raw

PATCH v2 1/1 linux: add shorter shortcuts

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Mike" == Mike Frysinger <[email protected]> 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.

Signature · 1 line
Bye, Peter Korsgaard