From ee7c0e712a22aff6c7db10acd040b215822f6622 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Wed, 17 May 2017 03:25:43 -0600 Subject: Convert CONFIG_CMD_LZMADEC to Kconfig This converts the following to Kconfig: CONFIG_CMD_LZMADEC Signed-off-by: Simon Glass --- cmd/Kconfig | 11 +++++++++++ cmd/Makefile | 2 -- 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'cmd') diff --git a/cmd/Kconfig b/cmd/Kconfig index dc81913767c..5ee52f62cc1 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -438,6 +438,17 @@ config CMD_MEMINFO help Display memory information. +endmenu + +menu "Compression commands" + +config CMD_LZMADEC + bool "lzmadec" + select LZMA + help + Support decompressing an LZMA (Lempel-Ziv-Markov chain algorithm) + image from memory. + config CMD_UNZIP bool "unzip" help diff --git a/cmd/Makefile b/cmd/Makefile index 1293d24e394..9ea56e99778 100644 --- a/cmd/Makefile +++ b/cmd/Makefile @@ -127,9 +127,7 @@ obj-$(CONFIG_CMD_UBI) += ubi.o obj-$(CONFIG_CMD_UBIFS) += ubifs.o obj-$(CONFIG_CMD_UNIVERSE) += universe.o obj-$(CONFIG_CMD_UNZIP) += unzip.o -ifdef CONFIG_LZMA obj-$(CONFIG_CMD_LZMADEC) += lzmadec.o -endif obj-$(CONFIG_CMD_USB) += usb.o disk.o obj-$(CONFIG_CMD_FASTBOOT) += fastboot.o -- cgit v1.3.1