summaryrefslogtreecommitdiff
path: root/libbb/Kbuild.src
diff options
context:
space:
mode:
authorDenys Vlasenko2010-08-16 02:49:21 +0200
committerDenys Vlasenko2010-08-16 02:49:21 +0200
commitc9b9750a0e2a85d3d045cc8d0217d4605f2d7989 (patch)
tree00168254b5f9e960ce42ea36d6d4a78bd269eae4 /libbb/Kbuild.src
parenta4160e15ec866005f3ad30c967bc4829fbb1c8e3 (diff)
downloadbusybox-c9b9750a0e2a85d3d045cc8d0217d4605f2d7989.zip
busybox-c9b9750a0e2a85d3d045cc8d0217d4605f2d7989.tar.gz
libbb: factor out common code from mpstat/iostat
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/Kbuild.src')
-rw-r--r--libbb/Kbuild.src3
1 files changed, 3 insertions, 0 deletions
diff --git a/libbb/Kbuild.src b/libbb/Kbuild.src
index 5c56700..6081ebe 100644
--- a/libbb/Kbuild.src
+++ b/libbb/Kbuild.src
@@ -157,6 +157,9 @@ lib-$(CONFIG_MOUNT) += find_mount_point.o
lib-$(CONFIG_HWCLOCK) += rtc.o
lib-$(CONFIG_RTCWAKE) += rtc.o
+lib-$(CONFIG_IOSTAT) += get_cpu_count.o
+lib-$(CONFIG_MPSTAT) += get_cpu_count.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.