X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=package%2Fboot%2Fkexec-tools%2FMakefile;h=541dca275ad09d45ddb83f561cde74a590bfb823;hp=fa4f4d8efc64ab1e9fff5781985b012a75c7c935;hb=d95cf96afd5315c5c19a3c4e7b487fced40082b1;hpb=65c58cc66681c90a9271f2e2a430249121cd9508 diff --git a/package/boot/kexec-tools/Makefile b/package/boot/kexec-tools/Makefile index fa4f4d8efc..541dca275a 100644 --- a/package/boot/kexec-tools/Makefile +++ b/package/boot/kexec-tools/Makefile @@ -17,12 +17,14 @@ PKG_MD5SUM:=b3ced2097ce3981abba38ceedc84f939 PKG_FIXUP:=autoreconf +PKG_CONFIG_DEPENDS := CONFIG_KEXEC_ZLIB + include $(INCLUDE_DIR)/package.mk define Package/kexec-tools SECTION:=utils CATEGORY:=Utilities - DEPENDS:=@armeb||@arm||@i386||@powerpc64||@mipsel||@mips +zlib + DEPENDS:=@armeb||@arm||@i386||@powerpc64||@mipsel||@mips +KEXEC_ZLIB:zlib TITLE:=Kernel boots kernel URL:=http://kernel.org/pub/linux/kernel/people/horms/kexec-tools/ MAINTAINER:=Florian Fainelli @@ -51,7 +53,8 @@ CONFIGURE_ARGS = \ --bindir=/usr/bin \ --sbindir=/usr/sbin \ --libexecdir=/usr/lib \ - --sysconfdir=/etc + --sysconfdir=/etc \ + $(if $(CONFIG_KEXEC_ZLIB),--with,--without)-zlib CONFIGURE_VARS += \ BUILD_CC="$(HOSTCC)" \