linux: add shorter shortcuts
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
@@ -188,3 +188,6 @@ endif endif endif + +linux-%: + $(MAKE) $(subst linux-,linux26-,$@)
Signature · 1 line
1.7.3.2
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-%".
Signed-off-by Mike Frysinger <[email protected]>
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
PATCH v2 1/1 linux: add shorter shortcuts
In reply to Mike FrysingerWe 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
@@ -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
@@ -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
@@ -188,3 +188,6 @@ endif endif endif + +linux-%: + $(MAKE) $(subst linux-,linux26-,$@)
Signature · 1 line
1.7.3.2
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