소스 검색

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 <vapier@gentoo.org>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Mike Frysinger 14 년 전
부모
커밋
176afdb3a1
3개의 변경된 파일5개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      docs/README
  2. 1 1
      docs/buildroot.html
  3. 3 0
      linux/linux.mk

+ 1 - 1
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
 Depending on your configuration, there are some targets you can use to
 use menuconfig of certain packages. This includes:
 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 uclibc-menuconfig
 $ make HOSTCC=gcc-4.3 busybox-menuconfig
 $ make HOSTCC=gcc-4.3 busybox-menuconfig
 
 

+ 1 - 1
docs/buildroot.html

@@ -434,7 +434,7 @@
 
 
     <p>The Linux kernel configuration can be customized just like
     <p>The Linux kernel configuration can be customized just like
     <a href="#custom_busybox">BusyBox</a> and
     <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
     </code>. Make sure you have enabled the kernel build in <code>make
     menuconfig</code> first. Once done, run <code>make</code> to (re)build
     menuconfig</code> first. Once done, run <code>make</code> to (re)build
     everything.</p>
     everything.</p>

+ 3 - 0
linux/linux.mk

@@ -179,3 +179,6 @@ endif
 endif
 endif
 
 
 endif
 endif
+
+linux-%:
+	$(MAKE) $(subst linux-,linux26-,$@)