summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley2006-03-21 16:22:19 +0000
committerRob Landley2006-03-21 16:22:19 +0000
commit8dd4ca787ab4606424d634ef94246a658ee6c6bf (patch)
tree1c9c2267324c08ca7348af44294c22aee6b12782
parent6a776e955861e63dc3293dcef2ca92bd9bb3a258 (diff)
downloadbusybox-8dd4ca787ab4606424d634ef94246a658ee6c6bf.zip
busybox-8dd4ca787ab4606424d634ef94246a658ee6c6bf.tar.gz
Patch from Shaun Jackman to make loop.c build only when needed.
-rw-r--r--libbb/Makefile.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbb/Makefile.in b/libbb/Makefile.in
index 7b50153..6d0d628 100644
--- a/libbb/Makefile.in
+++ b/libbb/Makefile.in
@@ -19,7 +19,7 @@ LIBBB-y:= \
full_write.c get_last_path_component.c get_line_from_file.c \
herror_msg.c herror_msg_and_die.c \
human_readable.c inet_common.c inode_hash.c isdirectory.c \
- kernel_version.c last_char_is.c login.c loop.c \
+ kernel_version.c last_char_is.c login.c \
make_directory.c md5.c mode_string.c mtab_file.c \
obscure.c parse_mode.c parse_number.c perror_msg.c \
perror_msg_and_die.c print_file.c get_console.c \
@@ -38,6 +38,7 @@ LIBBB-y:= \
# conditionally compiled objects:
LIBBB-$(CONFIG_FEATURE_SHADOWPASSWDS)+=pwd2spwd.c
+LIBBB-$(CONFIG_FEATURE_MOUNT_LOOP)+= loop.c
LIBBB-$(CONFIG_FEATURE_MTAB_SUPPORT)+= mtab.c
LIBBB-$(CONFIG_PASSWD)+= pw_encrypt.c
LIBBB-$(CONFIG_SULOGIN)+= pw_encrypt.c