From 507319e13bd5e0ad13138970e90e8426d08f5817 Mon Sep 17 00:00:00 2001 From: Jean-Christophe PLAGNIOL-VILLARD Date: Sun, 8 Jan 2012 14:23:19 +0800 Subject: [PATCH] filetype: add config to disable it remove 160 bytes Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- commands/Kconfig | 1 + common/Kconfig | 3 +++ common/Makefile | 2 +- lib/Kconfig | 1 + 4 files changed, 6 insertions(+), 1 deletion(-) diff --git a/commands/Kconfig b/commands/Kconfig index b0037863f..fad32812b 100644 --- a/commands/Kconfig +++ b/commands/Kconfig @@ -311,6 +311,7 @@ config CMD_BOOTM default y select CRC32 select UNCOMPRESS + select FILETYPE prompt "bootm" config CMD_BOOTM_SHOW_TYPE diff --git a/common/Kconfig b/common/Kconfig index d184d9ed3..20e4050d4 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -40,6 +40,9 @@ config BLOCK_WRITE config HAVE_NOSHELL bool +config FILETYPE + bool + menu "General Settings " config LOCALVERSION diff --git a/common/Makefile b/common/Makefile index eaf74a616..76fe40739 100644 --- a/common/Makefile +++ b/common/Makefile @@ -28,7 +28,7 @@ obj-$(CONFIG_CMD_BOOTM) += uimage.o obj-y += startup.o obj-y += misc.o obj-y += memsize.o -obj-y += filetype.o +obj-$(CONFIG_FILETYPE) += filetype.o obj-y += resource.o obj-$(CONFIG_MENU) += menu.o obj-$(CONFIG_PASSWORD) += password.o diff --git a/lib/Kconfig b/lib/Kconfig index 0bbd20677..6b4063d26 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -1,6 +1,7 @@ menu "Library routines" config UNCOMPRESS bool + select FILETYPE config ZLIB bool "include gzip uncompression support"