[source] kexec-tools: remove useless CONFIG_KEXEC_TOOLS_TARGET_NAME indirection
LEDE Commits
lede-commits at lists.infradead.org
Tue Dec 20 07:32:33 PST 2016
nbd pushed a commit to source.git, branch master:
https://git.lede-project.org/842ed8448deccebf2a0d9a24076e421de87a6959
commit 842ed8448deccebf2a0d9a24076e421de87a6959
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Mon Dec 19 19:28:33 2016 +0100
kexec-tools: remove useless CONFIG_KEXEC_TOOLS_TARGET_NAME indirection
Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
package/boot/kexec-tools/Config.in | 10 ----------
package/boot/kexec-tools/Makefile | 2 +-
2 files changed, 1 insertion(+), 11 deletions(-)
diff --git a/package/boot/kexec-tools/Config.in b/package/boot/kexec-tools/Config.in
index 6c7558f..03bc6ee 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 5df8817..ecd2a6e 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) \
More information about the lede-commits
mailing list