diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2012-03-06 16:34:23 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2012-03-06 16:34:23 +0100 |
commit | b5d6ae9a336ae64958fbc49a7a98d66f2e4cbcd6 (patch) | |
tree | d1b3cb12fcba5b3cf6fccb00ea09214e75918414 /archival | |
parent | faac1d3e6e87dc6882e69b62f1c71907d892c876 (diff) | |
download | busybox-w32-b5d6ae9a336ae64958fbc49a7a98d66f2e4cbcd6.tar.gz busybox-w32-b5d6ae9a336ae64958fbc49a7a98d66f2e4cbcd6.tar.bz2 busybox-w32-b5d6ae9a336ae64958fbc49a7a98d66f2e4cbcd6.zip |
Don't compile get_header_tar_FOO function if they are not needed
Now get_header_tar_gz, get_header_tar_bz2, get_header_tar_lzma
are only used if dpkg is built.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'archival')
-rw-r--r-- | archival/libarchive/Kbuild.src | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/archival/libarchive/Kbuild.src b/archival/libarchive/Kbuild.src index a0a7cca5f..39c18f264 100644 --- a/archival/libarchive/Kbuild.src +++ b/archival/libarchive/Kbuild.src | |||
@@ -28,10 +28,13 @@ COMMON_FILES:= \ | |||
28 | init_handle.o | 28 | init_handle.o |
29 | 29 | ||
30 | DPKG_FILES:= \ | 30 | DPKG_FILES:= \ |
31 | get_header_ar.o \ | ||
32 | unpack_ar_archive.o \ | 31 | unpack_ar_archive.o \ |
32 | filter_accept_list_reassign.o \ | ||
33 | get_header_ar.o \ | ||
33 | get_header_tar.o \ | 34 | get_header_tar.o \ |
34 | filter_accept_list_reassign.o | 35 | get_header_tar_gz.o \ |
36 | get_header_tar_bz2.o \ | ||
37 | get_header_tar_lzma.o \ | ||
35 | 38 | ||
36 | INSERT | 39 | INSERT |
37 | 40 | ||
@@ -51,9 +54,9 @@ lib-$(CONFIG_UNZIP) += decompress_gunzip.o | |||
51 | lib-$(CONFIG_LZOP) += lzo1x_1.o lzo1x_1o.o lzo1x_d.o | 54 | lib-$(CONFIG_LZOP) += lzo1x_1.o lzo1x_1o.o lzo1x_d.o |
52 | lib-$(CONFIG_LZOP_COMPR_HIGH) += lzo1x_9x.o | 55 | lib-$(CONFIG_LZOP_COMPR_HIGH) += lzo1x_9x.o |
53 | lib-$(CONFIG_FEATURE_SEAMLESS_Z) += open_transformer.o decompress_uncompress.o | 56 | lib-$(CONFIG_FEATURE_SEAMLESS_Z) += open_transformer.o decompress_uncompress.o |
54 | lib-$(CONFIG_FEATURE_SEAMLESS_GZ) += open_transformer.o decompress_gunzip.o get_header_tar_gz.o | 57 | lib-$(CONFIG_FEATURE_SEAMLESS_GZ) += open_transformer.o decompress_gunzip.o |
55 | lib-$(CONFIG_FEATURE_SEAMLESS_BZ2) += open_transformer.o decompress_bunzip2.o get_header_tar_bz2.o | 58 | lib-$(CONFIG_FEATURE_SEAMLESS_BZ2) += open_transformer.o decompress_bunzip2.o |
56 | lib-$(CONFIG_FEATURE_SEAMLESS_LZMA) += open_transformer.o decompress_unlzma.o get_header_tar_lzma.o | 59 | lib-$(CONFIG_FEATURE_SEAMLESS_LZMA) += open_transformer.o decompress_unlzma.o |
57 | lib-$(CONFIG_FEATURE_SEAMLESS_XZ) += open_transformer.o decompress_unxz.o | 60 | lib-$(CONFIG_FEATURE_SEAMLESS_XZ) += open_transformer.o decompress_unxz.o |
58 | lib-$(CONFIG_FEATURE_COMPRESS_USAGE) += decompress_bunzip2.o | 61 | lib-$(CONFIG_FEATURE_COMPRESS_USAGE) += decompress_bunzip2.o |
59 | lib-$(CONFIG_FEATURE_COMPRESS_BBCONFIG) += decompress_bunzip2.o | 62 | lib-$(CONFIG_FEATURE_COMPRESS_BBCONFIG) += decompress_bunzip2.o |