linux: use the generic help rules
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> [Thomas: don't use the helper.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
9f4f9c7440
commit
39bc106bf5
6
Makefile
6
Makefile
|
@ -941,12 +941,6 @@ help:
|
||||||
@echo $(sep) \
|
@echo $(sep) \
|
||||||
@echo '$($(p)_NAME):' $(sep) \
|
@echo '$($(p)_NAME):' $(sep) \
|
||||||
$($(p)_HELP_CMDS)$(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)
|
ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
|
||||||
@echo ' uclibc-menuconfig - Run uClibc menuconfig'
|
@echo ' uclibc-menuconfig - Run uClibc menuconfig'
|
||||||
endif
|
endif
|
||||||
|
|
|
@ -8,6 +8,13 @@ LINUX_VERSION = $(call qstrip,$(BR2_LINUX_KERNEL_VERSION))
|
||||||
LINUX_LICENSE = GPLv2
|
LINUX_LICENSE = GPLv2
|
||||||
LINUX_LICENSE_FILES = COPYING
|
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
|
# Compute LINUX_SOURCE and LINUX_SITE from the configuration
|
||||||
ifeq ($(BR2_LINUX_KERNEL_CUSTOM_TARBALL),y)
|
ifeq ($(BR2_LINUX_KERNEL_CUSTOM_TARBALL),y)
|
||||||
LINUX_TARBALL = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION))
|
LINUX_TARBALL = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION))
|
||||||
|
|
Loading…
Reference in a new issue