From 176afdb3a180e0833d8b0a5085a2745e2b3e2d27 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 18 Nov 2010 06:31:46 -0500 Subject: [PATCH] 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-%". Signed-off-by: Mike Frysinger Acked-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- 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 c330a606b..e756329b5 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 b6cf578bd..8293c8fec 100644 --- a/docs/buildroot.html +++ b/docs/buildroot.html @@ -434,7 +434,7 @@

The Linux kernel configuration can be customized just like BusyBox and - uClibc using make linux26-menuconfig + uClibc using make linux-menuconfig . Make sure you have enabled the kernel build in make menuconfig first. Once done, run make to (re)build everything.

diff --git a/linux/linux.mk b/linux/linux.mk index ab90c03e4..5f89b7dd3 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -179,3 +179,6 @@ endif endif endif + +linux-%: + $(MAKE) $(subst linux-,linux26-,$@)