[klibc] [PATCH] gzip: Fix typo CONFIG_KLIB_ZIP -> CONFIG_KLIBC_ZIP

Anton Blanchard anton at samba.org
Mon Dec 2 23:15:58 PST 2013


We were using CONFIG_KLIB_ZIP in a couple of places where we
meant to use CONFIG_KLIBC_ZIP. I also added the option to
the defconfig.

Signed-off-by: Anton Blanchard <anton at samba.org>
---
 defconfig       | 1 +
 usr/gzip/Kbuild | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/defconfig b/defconfig
index c10a4f5..04b98e9 100644
--- a/defconfig
+++ b/defconfig
@@ -1,6 +1,7 @@
 CONFIG_KLIBC=y
 CONFIG_KLIBC_ERRLIST=y
 CONFIG_KLIBC_ZLIB=y
+# CONFIG_KLIBC_ZIP is not set
 # i386 option
 CONFIG_REGPARM=y
 # ARM options
diff --git a/usr/gzip/Kbuild b/usr/gzip/Kbuild
index 64fae04..9bbf0a4 100644
--- a/usr/gzip/Kbuild
+++ b/usr/gzip/Kbuild
@@ -10,8 +10,8 @@ gzip-y   := gzip.o util.o unzip.o inflate.o
 always := gunzip zcat
 
 # Optional ZIP support
-gzip-$(CONFIG_KLIB_ZIP)   += zip.o deflate.o trees.o bits.o
-cflags-$(CONFIG_KLIB_ZIP) += -DSUPPORT_ZIP
+gzip-$(CONFIG_KLIBC_ZIP)   += zip.o deflate.o trees.o bits.o
+cflags-$(CONFIG_KLIBC_ZIP) += -DSUPPORT_ZIP
 EXTRA_KLIBCCFLAGS := $(cflags-y)
 
 # Additionally linked targets
-- 
1.8.3.2



More information about the klibc mailing list