From 39bc106bf56d3960f29c8e6ea1e02246a99839bf Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN" Date: Sat, 4 Jun 2016 18:30:51 +0200 Subject: [PATCH] linux: use the generic help rules Signed-off-by: "Yann E. MORIN" Cc: Arnout Vandecappelle Cc: Thomas Petazzoni [Thomas: don't use the helper.] Signed-off-by: Thomas Petazzoni --- Makefile | 6 ------ linux/linux.mk | 7 +++++++ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index f5ae613a55..bb3d588088 100644 --- a/Makefile +++ b/Makefile @@ -941,12 +941,6 @@ help: @echo $(sep) \ @echo '$($(p)_NAME):' $(sep) \ $($(p)_HELP_CMDS)$(sep)) -ifeq ($(BR2_LINUX_KERNEL),y) - @echo ' linux-menuconfig - Run Linux kernel menuconfig' - @echo ' linux-savedefconfig - Run Linux kernel savedefconfig' - @echo ' linux-update-defconfig - Save the Linux configuration to the path specified' - @echo ' by BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE' -endif ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y) @echo ' uclibc-menuconfig - Run uClibc menuconfig' endif diff --git a/linux/linux.mk b/linux/linux.mk index 4f4f80239e..fdd8421d94 100644 --- a/linux/linux.mk +++ b/linux/linux.mk @@ -8,6 +8,13 @@ LINUX_VERSION = $(call qstrip,$(BR2_LINUX_KERNEL_VERSION)) LINUX_LICENSE = GPLv2 LINUX_LICENSE_FILES = COPYING +define LINUX_HELP_CMDS + @echo ' linux-menuconfig - Run Linux kernel menuconfig' + @echo ' linux-savedefconfig - Run Linux kernel savedefconfig' + @echo ' linux-update-defconfig - Save the Linux configuration to the path specified' + @echo ' by BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE' +endef + # Compute LINUX_SOURCE and LINUX_SITE from the configuration ifeq ($(BR2_LINUX_KERNEL_CUSTOM_TARBALL),y) LINUX_TARBALL = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION))