Browse Source

package/kexec-tools: move configuration in submenu, rename 'kexec-config.in' in 'Config.in' for coherency

SVN-Revision: 20916
Nicolas Thill 15 years ago
parent
commit
bbbdc421c7
2 changed files with 5 additions and 3 deletions
  1. 4 2
      package/kexec-tools/Config.in
  2. 1 1
      package/kexec-tools/Makefile

+ 4 - 2
package/kexec-tools/kexec-config.in → package/kexec-tools/Config.in

@@ -1,7 +1,9 @@
+menu "Configuration"
+	depends on PACKAGE_kexec-tools
 
 config KEXEC_TOOLS_TARGET_NAME
 	string
-	prompt "Target name for kexec kernel" if PACKAGE_kexec-tools
+	prompt "Target name for kexec kernel"
 	default EXTRA_TARGET_ARCH_NAME	if powerpc64
 	default ARCH
 	help
@@ -12,8 +14,8 @@ config KEXEC_TOOLS_TARGET_NAME
 config KEXEC_TOOLS_kdump
 	bool
 	prompt "kdump support"
-	depends on PACKAGE_kexec-tools
 	default n
 	help
 	  Include the kdump utility.
 
+endmenu

+ 1 - 1
package/kexec-tools/Makefile

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