X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=libbb%2FKbuild.src;h=61eec26f70a7503ce1f8ea62b7e3b41e01ca5744;hb=ac4100e103ca2b4e6e782c5814b1f43cef58c00b;hp=0fa14515975e0c2f467cd2a7e1ab4b4dff1f5633;hpb=26777aa1c659b229f07205291241e45e64712a72;p=oweals%2Fbusybox.git diff --git a/libbb/Kbuild.src b/libbb/Kbuild.src index 0fa145159..61eec26f7 100644 --- a/libbb/Kbuild.src +++ b/libbb/Kbuild.src @@ -13,7 +13,6 @@ INSERT lib-y += appletlib.o lib-y += ask_confirmation.o lib-y += bb_askpass.o -lib-y += bb_basename.o lib-y += bb_bswap_64.o lib-y += bb_do_delay.o lib-y += bb_pwd.o @@ -59,15 +58,12 @@ lib-y += llist.o lib-y += login.o lib-y += make_directory.o lib-y += makedev.o -lib-y += match_fstype.o lib-y += hash_md5_sha.o # Alternative (disabled) MD5 implementation #lib-y += hash_md5prime.o lib-y += messages.o lib-y += mode_string.o -lib-y += obscure.o lib-y += parse_mode.o -lib-y += parse_config.o lib-y += perror_msg.o lib-y += perror_nomsg.o lib-y += perror_nomsg_and_die.o @@ -101,7 +97,6 @@ lib-y += strrstr.o lib-y += time.o lib-y += trim.o lib-y += u_signal_names.o -lib-y += udp_io.o lib-y += uuencode.o lib-y += vdprintf.o lib-y += verror_msg.o @@ -120,6 +115,8 @@ lib-y += xgethostbyname.o lib-y += xreadlink.o lib-y += xrealloc_vector.o +lib-$(CONFIG_PLATFORM_LINUX) += match_fstype.o + lib-$(CONFIG_FEATURE_UTMP) += utmp.o # A mix of optimizations (why build stuff we know won't be used) @@ -129,6 +126,15 @@ lib-$(CONFIG_FEATURE_MTAB_SUPPORT) += mtab.o lib-$(CONFIG_UNICODE_SUPPORT) += unicode.o lib-$(CONFIG_FEATURE_CHECK_NAMES) += die_if_bad_username.o +lib-$(CONFIG_NC) += udp_io.o +lib-$(CONFIG_DNSD) += udp_io.o +lib-$(CONFIG_NTPD) += udp_io.o +lib-$(CONFIG_TFTP) += udp_io.o +lib-$(CONFIG_TFTPD) += udp_io.o +lib-$(CONFIG_TCPSVD) += udp_io.o +lib-$(CONFIG_UDPSVD) += udp_io.o +lib-$(CONFIG_TRACEROUTE) += udp_io.o + lib-$(CONFIG_LOSETUP) += loop.o lib-$(CONFIG_FEATURE_MOUNT_LOOP) += loop.o @@ -137,7 +143,7 @@ lib-$(CONFIG_ADDUSER) += update_passwd.o lib-$(CONFIG_DELGROUP) += update_passwd.o lib-$(CONFIG_DELUSER) += update_passwd.o -lib-$(CONFIG_PASSWD) += pw_encrypt.o update_passwd.o +lib-$(CONFIG_PASSWD) += pw_encrypt.o update_passwd.o obscure.o lib-$(CONFIG_CHPASSWD) += pw_encrypt.o update_passwd.o lib-$(CONFIG_CRYPTPW) += pw_encrypt.o lib-$(CONFIG_SULOGIN) += pw_encrypt.o @@ -160,6 +166,13 @@ lib-$(CONFIG_IOSTAT) += get_cpu_count.o lib-$(CONFIG_MPSTAT) += get_cpu_count.o lib-$(CONFIG_POWERTOP) += get_cpu_count.o +lib-$(CONFIG_PING) += inet_cksum.o +lib-$(CONFIG_TRACEROUTE) += inet_cksum.o +lib-$(CONFIG_TRACEROUTE6) += inet_cksum.o +lib-$(CONFIG_UDHCPC) += inet_cksum.o +lib-$(CONFIG_UDHCPC6) += inet_cksum.o +lib-$(CONFIG_UDHCPD) += inet_cksum.o + # We shouldn't build xregcomp.c if we don't need it - this ensures we don't # require regex.h to be in the include dir even if we don't need it thereby # allowing us to build busybox even if uclibc regex support is disabled.