mirror of
https://github.com/topjohnwu/ndk-busybox.git
synced 2024-12-15 07:48:30 +00:00
25591c322c
which sets same handler for many signals. sig_catch is nuked (bb_signals_recursive is more descriptive name). *: use them as appropriate. function old new delta bb_signals_recursive - 95 +95 bb_signals - 52 +52 run_command 258 273 +15 svlogd_main 1368 1377 +9 runsv_main 1746 1752 +6 runsvdir_main 1643 1646 +3 UNSPEC_print 64 66 +2 time_main 1128 1127 -1 ... resize_main 246 210 -36 sig_catch 63 - -63 set_fatal_sighandler 85 14 -71 ------------------------------------------------------------------------------ (add/remove: 2/1 grow/shrink: 5/24 up/down: 182/-548) Total: -366 bytes
136 lines
3.6 KiB
Makefile
136 lines
3.6 KiB
Makefile
# Makefile for busybox
|
|
#
|
|
# Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
|
|
#
|
|
# Licensed under the GPL v2, see the file LICENSE in this tarball.
|
|
|
|
lib-y:=
|
|
|
|
lib-y += appletlib.o
|
|
lib-y += ask_confirmation.o
|
|
lib-y += bb_askpass.o
|
|
lib-y += bb_basename.o
|
|
lib-y += bb_do_delay.o
|
|
lib-y += bb_pwd.o
|
|
lib-y += bb_strtonum.o
|
|
lib-y += change_identity.o
|
|
lib-y += chomp.o
|
|
lib-y += compare_string_array.o
|
|
lib-y += concat_path_file.o
|
|
lib-y += concat_subpath_file.o
|
|
lib-y += copy_file.o
|
|
lib-y += copyfd.o
|
|
lib-y += crc32.o
|
|
lib-y += create_icmp6_socket.o
|
|
lib-y += create_icmp_socket.o
|
|
lib-y += default_error_retval.o
|
|
lib-y += device_open.o
|
|
lib-y += dump.o
|
|
lib-y += error_msg.o
|
|
lib-y += error_msg_and_die.o
|
|
lib-y += execable.o
|
|
lib-y += fclose_nonstdin.o
|
|
lib-y += fflush_stdout_and_exit.o
|
|
lib-y += fgets_str.o
|
|
lib-y += find_pid_by_name.o
|
|
lib-y += find_root_device.o
|
|
lib-y += full_write.o
|
|
lib-y += get_console.o
|
|
lib-y += get_last_path_component.o
|
|
lib-y += get_line_from_file.o
|
|
lib-y += getopt32.o
|
|
lib-y += herror_msg.o
|
|
lib-y += herror_msg_and_die.o
|
|
lib-y += human_readable.o
|
|
lib-y += inet_common.o
|
|
lib-y += info_msg.o
|
|
lib-y += inode_hash.o
|
|
lib-y += isdirectory.o
|
|
lib-y += kernel_version.o
|
|
lib-y += last_char_is.o
|
|
lib-y += lineedit.o
|
|
lib-y += llist.o
|
|
lib-y += login.o
|
|
lib-y += make_directory.o
|
|
lib-y += makedev.o
|
|
lib-y += match_fstype.o
|
|
lib-y += md5.o
|
|
lib-y += messages.o
|
|
lib-y += mode_string.o
|
|
lib-y += mtab_file.o
|
|
lib-y += obscure.o
|
|
lib-y += parse_mode.o
|
|
lib-y += perror_msg.o
|
|
lib-y += perror_msg_and_die.o
|
|
lib-y += perror_nomsg.o
|
|
lib-y += perror_nomsg_and_die.o
|
|
lib-y += pidfile.o
|
|
lib-y += printable.o
|
|
lib-y += process_escape_sequence.o
|
|
lib-y += procps.o
|
|
lib-y += read.o
|
|
lib-y += recursive_action.o
|
|
lib-y += remove_file.o
|
|
lib-y += restricted_shell.o
|
|
lib-y += run_shell.o
|
|
lib-y += safe_poll.o
|
|
lib-y += safe_strncpy.o
|
|
lib-y += safe_write.o
|
|
lib-y += setup_environment.o
|
|
lib-y += sha1.o
|
|
lib-y += signals.o
|
|
lib-y += simplify_path.o
|
|
lib-y += skip_whitespace.o
|
|
lib-y += speed_table.o
|
|
lib-y += str_tolower.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
|
|
lib-y += vfork_daemon_rexec.o
|
|
lib-y += warn_ignoring_args.o
|
|
lib-y += wfopen.o
|
|
lib-y += wfopen_input.o
|
|
lib-y += xatonum.o
|
|
lib-y += xconnect.o
|
|
lib-y += xfuncs.o
|
|
lib-y += xgetcwd.o
|
|
lib-y += xgethostbyname.o
|
|
lib-y += xreadlink.o
|
|
|
|
# conditionally compiled objects:
|
|
lib-$(CONFIG_FEATURE_MOUNT_LOOP) += loop.o
|
|
lib-$(CONFIG_LOSETUP) += loop.o
|
|
lib-$(CONFIG_FEATURE_MTAB_SUPPORT) += mtab.o
|
|
lib-$(CONFIG_PASSWD) += pw_encrypt.o crypt_make_salt.o update_passwd.o
|
|
lib-$(CONFIG_CHPASSWD) += pw_encrypt.o crypt_make_salt.o update_passwd.o
|
|
lib-$(CONFIG_CRYPTPW) += pw_encrypt.o crypt_make_salt.o
|
|
lib-$(CONFIG_SULOGIN) += pw_encrypt.o
|
|
lib-$(CONFIG_FEATURE_HTTPD_AUTH_MD5) += pw_encrypt.o
|
|
lib-$(CONFIG_VLOCK) += correct_password.o
|
|
lib-$(CONFIG_SU) += correct_password.o
|
|
lib-$(CONFIG_LOGIN) += correct_password.o
|
|
lib-$(CONFIG_DF) += find_mount_point.o
|
|
lib-$(CONFIG_MKFS_MINIX) += find_mount_point.o
|
|
lib-$(CONFIG_SELINUX) += selinux_common.o
|
|
lib-$(CONFIG_HWCLOCK) += rtc.o
|
|
lib-$(CONFIG_RTCWAKE) += rtc.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.
|
|
|
|
lib-$(CONFIG_AWK) += xregcomp.o
|
|
lib-$(CONFIG_SED) += xregcomp.o
|
|
lib-$(CONFIG_GREP) += xregcomp.o
|
|
lib-$(CONFIG_EXPR) += xregcomp.o
|
|
lib-$(CONFIG_MDEV) += xregcomp.o
|
|
lib-$(CONFIG_LESS) += xregcomp.o
|
|
lib-$(CONFIG_PGREP) += xregcomp.o
|
|
lib-$(CONFIG_PKILL) += xregcomp.o
|
|
lib-$(CONFIG_DEVFSD) += xregcomp.o
|
|
lib-$(CONFIG_FEATURE_FIND_REGEX) += xregcomp.o
|