diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-05-28 00:47:14 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-05-28 00:47:14 -0400 |
commit | b9f2bb36eaef9a3316fb7d54953a900b70912d85 (patch) | |
tree | 874b97dfd6ef8123144fcf2ff132d160a5a6b7d1 /archival/libunarchive | |
parent | f3cbfc0e2c2486e14ad099b8075293857c4890e8 (diff) |
only build common libarchive objs when needed
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'archival/libunarchive')
-rw-r--r-- | archival/libunarchive/Kbuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/archival/libunarchive/Kbuild b/archival/libunarchive/Kbuild index 364f9174c..4bb81ce26 100644 --- a/archival/libunarchive/Kbuild +++ b/archival/libunarchive/Kbuild @@ -4,7 +4,9 @@ # # Licensed under the GPL v2 or later, see the file LICENSE in this tarball. -lib-y:= \ +lib-y:= + +COMMON_FILES:= \ \ data_skip.o \ data_extract_all.o \ @@ -49,3 +51,7 @@ lib-$(CONFIG_FEATURE_SEAMLESS_GZ) += open_transformer.o decompress_unzip.o lib-$(CONFIG_FEATURE_SEAMLESS_BZ2) += open_transformer.o decompress_bunzip2.o get_header_tar_bz2.o lib-$(CONFIG_FEATURE_SEAMLESS_LZMA) += open_transformer.o decompress_unlzma.o get_header_tar_lzma.o lib-$(CONFIG_FEATURE_COMPRESS_USAGE) += decompress_bunzip2.o + +ifneq ($(lib-y),) +lib-y += $(COMMON_FILES) +endif |