aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-12-19 19:28:33 +0100
committerFelix Fietkau <nbd@nbd.name>2016-12-20 16:24:22 +0100
commit842ed8448deccebf2a0d9a24076e421de87a6959 (patch)
tree590246d88002a69e6e5db88307ab7dc5d4b82144 /package
parentfe4fe3edf21cb90371415577c52920c0eac25d19 (diff)
downloadupstream-842ed8448deccebf2a0d9a24076e421de87a6959.tar.gz
upstream-842ed8448deccebf2a0d9a24076e421de87a6959.tar.bz2
upstream-842ed8448deccebf2a0d9a24076e421de87a6959.zip
kexec-tools: remove useless CONFIG_KEXEC_TOOLS_TARGET_NAME indirection
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'package')
-rw-r--r--package/boot/kexec-tools/Config.in10
-rw-r--r--package/boot/kexec-tools/Makefile2
2 files changed, 1 insertions, 11 deletions
diff --git a/package/boot/kexec-tools/Config.in b/package/boot/kexec-tools/Config.in
index 6c7558f30a..03bc6ee804 100644
--- a/package/boot/kexec-tools/Config.in
+++ b/package/boot/kexec-tools/Config.in
@@ -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"
diff --git a/package/boot/kexec-tools/Makefile b/package/boot/kexec-tools/Makefile
index 5df8817bcc..ecd2a6ea11 100644
--- a/package/boot/kexec-tools/Makefile
+++ b/package/boot/kexec-tools/Makefile
@@ -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) \