aboutsummaryrefslogtreecommitdiff
path: root/coreutils/Kbuild.src
blob: 9ac6b9e7814f49138518e427ade8361d8b573dc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Makefile for busybox
#
# Copyright (C) 1999-2005 by Erik Andersen <andersen@codepoet.org>
#
# Licensed under GPLv2, see file LICENSE in this source tree.

libs-y			+= libcoreutils/

lib-y:=

INSERT

lib-$(CONFIG_MORE)          += cat.o   # more uses it if stdout isn't a tty
lib-$(CONFIG_LESS)          += cat.o   # less too
lib-$(CONFIG_CRONTAB)       += cat.o   # crontab -l
lib-$(CONFIG_ADDUSER)       += chown.o # used by adduser
lib-$(CONFIG_ADDGROUP)      += chown.o # used by adduser
lib-$(CONFIG_FTPD)          += ls.o    # used by ftpd

lib-$(CONFIG_ASH)           += echo.o  # used by ash
lib-$(CONFIG_SH_IS_ASH)     += echo.o  # used by ash
lib-$(CONFIG_BASH_IS_ASH)   += echo.o  # used by ash
lib-$(CONFIG_HUSH)          += echo.o  # used by hush
lib-$(CONFIG_SH_IS_HUSH)    += echo.o  # used by hush
lib-$(CONFIG_BASH_IS_HUSH)  += echo.o  # used by hush

lib-$(CONFIG_ASH_BUILTIN_PRINTF) += printf.o
lib-$(CONFIG_HUSH_PRINTF) += printf.o