kexec-tools: make zlib support optional, but enabled by default
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37071
This commit is contained in:
parent
6232a4300c
commit
ea5f9a7ba7
2 changed files with 10 additions and 2 deletions
|
@ -18,4 +18,9 @@ config KEXEC_TOOLS_kdump
|
||||||
help
|
help
|
||||||
Include the kdump utility.
|
Include the kdump utility.
|
||||||
|
|
||||||
|
config KEXEC_ZLIB
|
||||||
|
bool
|
||||||
|
prompt "zlib support"
|
||||||
|
default y
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
|
@ -17,12 +17,14 @@ PKG_MD5SUM:=b3ced2097ce3981abba38ceedc84f939
|
||||||
|
|
||||||
PKG_FIXUP:=autoreconf
|
PKG_FIXUP:=autoreconf
|
||||||
|
|
||||||
|
PKG_CONFIG_DEPENDS := CONFIG_KEXEC_ZLIB
|
||||||
|
|
||||||
include $(INCLUDE_DIR)/package.mk
|
include $(INCLUDE_DIR)/package.mk
|
||||||
|
|
||||||
define Package/kexec-tools
|
define Package/kexec-tools
|
||||||
SECTION:=utils
|
SECTION:=utils
|
||||||
CATEGORY:=Utilities
|
CATEGORY:=Utilities
|
||||||
DEPENDS:=@armeb||@arm||@i386||@powerpc64||@mipsel||@mips +zlib
|
DEPENDS:=@armeb||@arm||@i386||@powerpc64||@mipsel||@mips +KEXEC_ZLIB:zlib
|
||||||
TITLE:=Kernel boots kernel
|
TITLE:=Kernel boots kernel
|
||||||
URL:=http://kernel.org/pub/linux/kernel/people/horms/kexec-tools/
|
URL:=http://kernel.org/pub/linux/kernel/people/horms/kexec-tools/
|
||||||
MAINTAINER:=Florian Fainelli <florian@openwrt.org>
|
MAINTAINER:=Florian Fainelli <florian@openwrt.org>
|
||||||
|
@ -51,7 +53,8 @@ CONFIGURE_ARGS = \
|
||||||
--bindir=/usr/bin \
|
--bindir=/usr/bin \
|
||||||
--sbindir=/usr/sbin \
|
--sbindir=/usr/sbin \
|
||||||
--libexecdir=/usr/lib \
|
--libexecdir=/usr/lib \
|
||||||
--sysconfdir=/etc
|
--sysconfdir=/etc \
|
||||||
|
$(if $(CONFIG_KEXEC_ZLIB),--with,--without)-zlib
|
||||||
|
|
||||||
CONFIGURE_VARS += \
|
CONFIGURE_VARS += \
|
||||||
BUILD_CC="$(HOSTCC)" \
|
BUILD_CC="$(HOSTCC)" \
|
||||||
|
|
Loading…
Reference in a new issue