diff --git a/commands/Kconfig b/commands/Kconfig index b003786..fad3281 100644 --- a/commands/Kconfig +++ b/commands/Kconfig @@ -311,6 +311,7 @@ default y select CRC32 select UNCOMPRESS + select FILETYPE prompt "bootm" config CMD_BOOTM_SHOW_TYPE diff --git a/common/Kconfig b/common/Kconfig index d184d9e..20e4050 100644 --- a/common/Kconfig +++ b/common/Kconfig @@ -40,6 +40,9 @@ config HAVE_NOSHELL bool +config FILETYPE + bool + menu "General Settings " config LOCALVERSION diff --git a/common/Makefile b/common/Makefile index eaf74a6..76fe407 100644 --- a/common/Makefile +++ b/common/Makefile @@ -28,7 +28,7 @@ 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 0bbd206..6b4063d 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"