kexec-tools: remove useless CONFIG_KEXEC_TOOLS_TARGET_NAME indirection

Signed-off-by: Felix Fietkau <nbd@nbd.name>
master
Felix Fietkau 8 years ago
parent fe4fe3edf2
commit 842ed8448d
  1. 10
      package/boot/kexec-tools/Config.in
  2. 2
      package/boot/kexec-tools/Makefile

@ -1,16 +1,6 @@
menu "Configuration"
depends on PACKAGE_kexec-tools
config KEXEC_TOOLS_TARGET_NAME
string
prompt "Target name for kexec kernel"
default EXTRA_TARGET_ARCH_NAME if powerpc64
default ARCH
help
Defines the target type of the kernels that kexec deals
with. This should be the target specification of
the kernel you're booting.
config KEXEC_TOOLS_kdump
bool
prompt "kdump support"

@ -40,7 +40,7 @@ define Package/kexec-tools/config
source "$(SOURCE)/Config.in"
endef
KEXEC_TARGET_NAME:=$(call qstrip,$(CONFIG_KEXEC_TOOLS_TARGET_NAME))-linux-$(TARGET_SUFFIX)
KEXEC_TARGET_NAME:=$(ARCH)-linux-$(TARGET_SUFFIX)
CONFIGURE_ARGS = \
--target=$(KEXEC_TARGET_NAME) \

Loading…
Cancel
Save