aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2002-11-11 03:00:12 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2002-11-11 03:00:12 +0000
commit8f0722a53b9a88c0b4e60b79e4362d0f31c32c54 (patch)
tree2efbea745d3ef22e375df3e60ba4c8f14c04f1c4
parentc11986d89eba564945b226660031e624bf897561 (diff)
downloadbusybox-w32-8f0722a53b9a88c0b4e60b79e4362d0f31c32c54.tar.gz
busybox-w32-8f0722a53b9a88c0b4e60b79e4362d0f31c32c54.tar.bz2
busybox-w32-8f0722a53b9a88c0b4e60b79e4362d0f31c32c54.zip
Move readlink, mktemp, run-parts and which to a new debianutils dir.
-rw-r--r--Makefile2
-rw-r--r--debianutils/Makefile30
-rw-r--r--debianutils/Makefile.in36
-rw-r--r--debianutils/config.in15
-rw-r--r--debianutils/mktemp.c (renamed from miscutils/mktemp.c)0
-rw-r--r--debianutils/readlink.c (renamed from miscutils/readlink.c)0
-rw-r--r--debianutils/run_parts.c (renamed from init/run_parts.c)0
-rw-r--r--debianutils/which.c (renamed from findutils/which.c)0
-rw-r--r--findutils/Makefile.in1
-rw-r--r--findutils/config.in1
-rw-r--r--include/usage.h1
-rw-r--r--init/Makefile.in1
-rw-r--r--init/config.in1
-rw-r--r--miscutils/Makefile.in2
-rw-r--r--miscutils/config.in2
-rw-r--r--sysdeps/linux/config.in5
16 files changed, 86 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index 9a9780ec9..d61d945a6 100644
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,7 @@
20TOPDIR:= $(shell /bin/pwd)/ 20TOPDIR:= $(shell /bin/pwd)/
21include $(TOPDIR).config 21include $(TOPDIR).config
22include $(TOPDIR)Rules.mak 22include $(TOPDIR)Rules.mak
23SUBDIRS:=applets archival archival/libunarchive console-tools \ 23SUBDIRS:=applets archival archival/libunarchive console-tools debianutils \
24 editors fileutils findutils init miscutils modutils networking \ 24 editors fileutils findutils init miscutils modutils networking \
25 networking/libiproute networking/udhcp procps loginutils shell \ 25 networking/libiproute networking/udhcp procps loginutils shell \
26 shellutils sysklogd textutils util-linux libbb libpwdgrp 26 shellutils sysklogd textutils util-linux libbb libpwdgrp
diff --git a/debianutils/Makefile b/debianutils/Makefile
new file mode 100644
index 000000000..35b32e73b
--- /dev/null
+++ b/debianutils/Makefile
@@ -0,0 +1,30 @@
1# Makefile for busybox
2#
3# Copyright (C) 1999-2002 Erik Andersen <andersee@debian.org>
4#
5# This program is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation; either version 2 of the License, or
8# (at your option) any later version.
9#
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13# General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
16# along with this program; if not, write to the Free Software
17# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18#
19
20TOPDIR:= ../
21DEBIANUTILS_DIR:=./
22include $(TOPDIR).config
23include $(TOPDIR)Rules.mak
24include Makefile.in
25all: $(libraries-y)
26-include $(TOPDIR).depend
27
28clean:
29 rm -f *.o *.a $(AR_TARGET)
30
diff --git a/debianutils/Makefile.in b/debianutils/Makefile.in
new file mode 100644
index 000000000..91887bda1
--- /dev/null
+++ b/debianutils/Makefile.in
@@ -0,0 +1,36 @@
1# Makefile for busybox
2#
3# Copyright (C) 1999-2002 Erik Andersen <andersee@debian.org>
4#
5# This program is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation; either version 2 of the License, or
8# (at your option) any later version.
9#
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13# General Public License for more details.
14#
15# You should have received a copy of the GNU General Public License
16# along with this program; if not, write to the Free Software
17# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18#
19
20DEBIANUTILS_AR:=debianutils.a
21ifndef $(DEBIANUTILS_DIR)
22DEBIANUTILS_DIR:=$(TOPDIR)debianutils/
23endif
24
25
26DEBIANUTILS-y:=
27DEBIANUTILS-$(CONFIG_MKTEMP) += mktemp.o
28DEBIANUTILS-$(CONFIG_READLINK) += readlink.o
29DEBIANUTILS-$(CONFIG_RUN_PARTS) += run_parts.o
30DEBIANUTILS-$(CONFIG_WHICH) += which.o
31
32libraries-y+=$(DEBIANUTILS_DIR)$(DEBIANUTILS_AR)
33
34$(DEBIANUTILS_DIR)$(DEBIANUTILS_AR): $(patsubst %,$(DEBIANUTILS_DIR)%, $(DEBIANUTILS-y))
35 $(AR) -ro $@ $(patsubst %,$(DEBIANUTILS_DIR)%, $(DEBIANUTILS-y))
36
diff --git a/debianutils/config.in b/debianutils/config.in
new file mode 100644
index 000000000..7b1d92991
--- /dev/null
+++ b/debianutils/config.in
@@ -0,0 +1,15 @@
1#
2# For a description of the syntax of this configuration file,
3# see scripts/kbuild/config-language.txt.
4#
5
6mainmenu_option next_comment
7comment 'Debian Utilities'
8
9bool 'mktemp' CONFIG_MKTEMP
10bool 'readlink' CONFIG_READLINK
11bool 'run-parts' CONFIG_RUN_PARTS
12bool 'which' CONFIG_WHICH
13
14endmenu
15
diff --git a/miscutils/mktemp.c b/debianutils/mktemp.c
index bc47d0af0..bc47d0af0 100644
--- a/miscutils/mktemp.c
+++ b/debianutils/mktemp.c
diff --git a/miscutils/readlink.c b/debianutils/readlink.c
index da5259038..da5259038 100644
--- a/miscutils/readlink.c
+++ b/debianutils/readlink.c
diff --git a/init/run_parts.c b/debianutils/run_parts.c
index 3ec4b9d10..3ec4b9d10 100644
--- a/init/run_parts.c
+++ b/debianutils/run_parts.c
diff --git a/findutils/which.c b/debianutils/which.c
index b2af5a8ea..b2af5a8ea 100644
--- a/findutils/which.c
+++ b/debianutils/which.c
diff --git a/findutils/Makefile.in b/findutils/Makefile.in
index 2deaadb05..4133d1c3f 100644
--- a/findutils/Makefile.in
+++ b/findutils/Makefile.in
@@ -25,7 +25,6 @@ endif
25FINDUTILS-y:= 25FINDUTILS-y:=
26FINDUTILS-$(CONFIG_FIND) += find.o 26FINDUTILS-$(CONFIG_FIND) += find.o
27FINDUTILS-$(CONFIG_GREP) += grep.o 27FINDUTILS-$(CONFIG_GREP) += grep.o
28FINDUTILS-$(CONFIG_WHICH) += which.o
29FINDUTILS-$(CONFIG_XARGS) += xargs.o 28FINDUTILS-$(CONFIG_XARGS) += xargs.o
30 29
31libraries-y+=$(FINDUTILS_DIR)$(FINDUTILS_AR) 30libraries-y+=$(FINDUTILS_DIR)$(FINDUTILS_AR)
diff --git a/findutils/config.in b/findutils/config.in
index d5a3714d2..41a23c00a 100644
--- a/findutils/config.in
+++ b/findutils/config.in
@@ -18,7 +18,6 @@ if [ "$CONFIG_GREP" = "y" ] ; then
18 bool ' Support extended regular expressions (egrep & grep -E)' CONFIG_FEATURE_GREP_EGREP_ALIAS 18 bool ' Support extended regular expressions (egrep & grep -E)' CONFIG_FEATURE_GREP_EGREP_ALIAS
19 bool ' Enable before and after context flags (-A, -B and -C)' CONFIG_FEATURE_GREP_CONTEXT 19 bool ' Enable before and after context flags (-A, -B and -C)' CONFIG_FEATURE_GREP_CONTEXT
20fi 20fi
21bool 'which' CONFIG_WHICH
22bool 'xargs' CONFIG_XARGS 21bool 'xargs' CONFIG_XARGS
23endmenu 22endmenu
24 23
diff --git a/include/usage.h b/include/usage.h
index b741360cf..3677dff7a 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -2262,6 +2262,7 @@
2262#define which_example_usage \ 2262#define which_example_usage \
2263 "$ which login\n" \ 2263 "$ which login\n" \
2264 "/bin/login\n" 2264 "/bin/login\n"
2265
2265#define who_trivial_usage \ 2266#define who_trivial_usage \
2266 " " 2267 " "
2267#define who_full_usage \ 2268#define who_full_usage \
diff --git a/init/Makefile.in b/init/Makefile.in
index cd3ead839..a43c4a7f4 100644
--- a/init/Makefile.in
+++ b/init/Makefile.in
@@ -29,7 +29,6 @@ INIT-$(CONFIG_MESG) += mesg.o
29INIT-$(CONFIG_POWEROFF) += poweroff.o 29INIT-$(CONFIG_POWEROFF) += poweroff.o
30INIT-$(CONFIG_REBOOT) += reboot.o 30INIT-$(CONFIG_REBOOT) += reboot.o
31INIT-$(CONFIG_START_STOP_DAEMON) += start_stop_daemon.o 31INIT-$(CONFIG_START_STOP_DAEMON) += start_stop_daemon.o
32INIT-$(CONFIG_RUN_PARTS) += run_parts.o
33 32
34libraries-y+=$(INIT_DIR)$(INIT_AR) 33libraries-y+=$(INIT_DIR)$(INIT_AR)
35 34
diff --git a/init/config.in b/init/config.in
index e4aa4fbba..3688eaa10 100644
--- a/init/config.in
+++ b/init/config.in
@@ -21,7 +21,6 @@ if [ "$CONFIG_INIT" = "y" ]; then
21fi 21fi
22 22
23bool 'start-stop-daemon' CONFIG_START_STOP_DAEMON 23bool 'start-stop-daemon' CONFIG_START_STOP_DAEMON
24bool 'run-parts' CONFIG_RUN_PARTS
25bool 'mesg' CONFIG_MESG 24bool 'mesg' CONFIG_MESG
26 25
27endmenu 26endmenu
diff --git a/miscutils/Makefile.in b/miscutils/Makefile.in
index 72292b69d..535e65467 100644
--- a/miscutils/Makefile.in
+++ b/miscutils/Makefile.in
@@ -30,9 +30,7 @@ MISCUTILS-$(CONFIG_CRONTAB) += crontab.o
30MISCUTILS-$(CONFIG_DC) += dc.o 30MISCUTILS-$(CONFIG_DC) += dc.o
31MISCUTILS-$(CONFIG_DUTMP) += dutmp.o 31MISCUTILS-$(CONFIG_DUTMP) += dutmp.o
32MISCUTILS-$(CONFIG_MAKEDEVS) += makedevs.o 32MISCUTILS-$(CONFIG_MAKEDEVS) += makedevs.o
33MISCUTILS-$(CONFIG_MKTEMP) += mktemp.o
34MISCUTILS-$(CONFIG_MT) += mt.o 33MISCUTILS-$(CONFIG_MT) += mt.o
35MISCUTILS-$(CONFIG_READLINK) += readlink.o
36MISCUTILS-$(CONFIG_STRINGS) += strings.o 34MISCUTILS-$(CONFIG_STRINGS) += strings.o
37MISCUTILS-$(CONFIG_TIME) += time.o 35MISCUTILS-$(CONFIG_TIME) += time.o
38MISCUTILS-$(CONFIG_UPDATE) += update.o 36MISCUTILS-$(CONFIG_UPDATE) += update.o
diff --git a/miscutils/config.in b/miscutils/config.in
index 3dc5e2c8b..063e02b36 100644
--- a/miscutils/config.in
+++ b/miscutils/config.in
@@ -12,9 +12,7 @@ bool 'crontab' CONFIG_CRONTAB
12bool 'dc' CONFIG_DC 12bool 'dc' CONFIG_DC
13bool 'dutmp' CONFIG_DUTMP 13bool 'dutmp' CONFIG_DUTMP
14bool 'makedevs' CONFIG_MAKEDEVS 14bool 'makedevs' CONFIG_MAKEDEVS
15bool 'mktemp' CONFIG_MKTEMP
16bool 'mt' CONFIG_MT 15bool 'mt' CONFIG_MT
17bool 'readlink' CONFIG_READLINK
18bool 'strings' CONFIG_STRINGS 16bool 'strings' CONFIG_STRINGS
19bool 'time' CONFIG_TIME 17bool 'time' CONFIG_TIME
20bool 'update' CONFIG_UPDATE 18bool 'update' CONFIG_UPDATE
diff --git a/sysdeps/linux/config.in b/sysdeps/linux/config.in
index dac74e8e0..d33a9826d 100644
--- a/sysdeps/linux/config.in
+++ b/sysdeps/linux/config.in
@@ -31,18 +31,19 @@ endmenu
31 31
32source archival/config.in 32source archival/config.in
33source console-tools/config.in 33source console-tools/config.in
34source debianutils/config.in
34source editors/config.in 35source editors/config.in
36source fileutils/config.in
35source findutils/config.in 37source findutils/config.in
36source init/config.in 38source init/config.in
39source loginutils/config.in
37source miscutils/config.in 40source miscutils/config.in
38source modutils/config.in 41source modutils/config.in
39source networking/config.in 42source networking/config.in
40source loginutils/config.in
41source procps/config.in 43source procps/config.in
42source shell/config.in 44source shell/config.in
43source shellutils/config.in 45source shellutils/config.in
44source sysklogd/config.in 46source sysklogd/config.in
45source textutils/config.in 47source textutils/config.in
46source util-linux/config.in 48source util-linux/config.in
47source fileutils/config.in
48 49