diff options
author | Glenn L McGrath <bug1@ihug.co.nz> | 2002-11-11 03:00:12 +0000 |
---|---|---|
committer | Glenn L McGrath <bug1@ihug.co.nz> | 2002-11-11 03:00:12 +0000 |
commit | 8f0722a53b9a88c0b4e60b79e4362d0f31c32c54 (patch) | |
tree | 2efbea745d3ef22e375df3e60ba4c8f14c04f1c4 | |
parent | c11986d89eba564945b226660031e624bf897561 (diff) | |
download | busybox-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-- | Makefile | 2 | ||||
-rw-r--r-- | debianutils/Makefile | 30 | ||||
-rw-r--r-- | debianutils/Makefile.in | 36 | ||||
-rw-r--r-- | debianutils/config.in | 15 | ||||
-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.in | 1 | ||||
-rw-r--r-- | findutils/config.in | 1 | ||||
-rw-r--r-- | include/usage.h | 1 | ||||
-rw-r--r-- | init/Makefile.in | 1 | ||||
-rw-r--r-- | init/config.in | 1 | ||||
-rw-r--r-- | miscutils/Makefile.in | 2 | ||||
-rw-r--r-- | miscutils/config.in | 2 | ||||
-rw-r--r-- | sysdeps/linux/config.in | 5 |
16 files changed, 86 insertions, 11 deletions
@@ -20,7 +20,7 @@ | |||
20 | TOPDIR:= $(shell /bin/pwd)/ | 20 | TOPDIR:= $(shell /bin/pwd)/ |
21 | include $(TOPDIR).config | 21 | include $(TOPDIR).config |
22 | include $(TOPDIR)Rules.mak | 22 | include $(TOPDIR)Rules.mak |
23 | SUBDIRS:=applets archival archival/libunarchive console-tools \ | 23 | SUBDIRS:=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 | |||
20 | TOPDIR:= ../ | ||
21 | DEBIANUTILS_DIR:=./ | ||
22 | include $(TOPDIR).config | ||
23 | include $(TOPDIR)Rules.mak | ||
24 | include Makefile.in | ||
25 | all: $(libraries-y) | ||
26 | -include $(TOPDIR).depend | ||
27 | |||
28 | clean: | ||
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 | |||
20 | DEBIANUTILS_AR:=debianutils.a | ||
21 | ifndef $(DEBIANUTILS_DIR) | ||
22 | DEBIANUTILS_DIR:=$(TOPDIR)debianutils/ | ||
23 | endif | ||
24 | |||
25 | |||
26 | DEBIANUTILS-y:= | ||
27 | DEBIANUTILS-$(CONFIG_MKTEMP) += mktemp.o | ||
28 | DEBIANUTILS-$(CONFIG_READLINK) += readlink.o | ||
29 | DEBIANUTILS-$(CONFIG_RUN_PARTS) += run_parts.o | ||
30 | DEBIANUTILS-$(CONFIG_WHICH) += which.o | ||
31 | |||
32 | libraries-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 | |||
6 | mainmenu_option next_comment | ||
7 | comment 'Debian Utilities' | ||
8 | |||
9 | bool 'mktemp' CONFIG_MKTEMP | ||
10 | bool 'readlink' CONFIG_READLINK | ||
11 | bool 'run-parts' CONFIG_RUN_PARTS | ||
12 | bool 'which' CONFIG_WHICH | ||
13 | |||
14 | endmenu | ||
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 | |||
25 | FINDUTILS-y:= | 25 | FINDUTILS-y:= |
26 | FINDUTILS-$(CONFIG_FIND) += find.o | 26 | FINDUTILS-$(CONFIG_FIND) += find.o |
27 | FINDUTILS-$(CONFIG_GREP) += grep.o | 27 | FINDUTILS-$(CONFIG_GREP) += grep.o |
28 | FINDUTILS-$(CONFIG_WHICH) += which.o | ||
29 | FINDUTILS-$(CONFIG_XARGS) += xargs.o | 28 | FINDUTILS-$(CONFIG_XARGS) += xargs.o |
30 | 29 | ||
31 | libraries-y+=$(FINDUTILS_DIR)$(FINDUTILS_AR) | 30 | libraries-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 |
20 | fi | 20 | fi |
21 | bool 'which' CONFIG_WHICH | ||
22 | bool 'xargs' CONFIG_XARGS | 21 | bool 'xargs' CONFIG_XARGS |
23 | endmenu | 22 | endmenu |
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 | |||
29 | INIT-$(CONFIG_POWEROFF) += poweroff.o | 29 | INIT-$(CONFIG_POWEROFF) += poweroff.o |
30 | INIT-$(CONFIG_REBOOT) += reboot.o | 30 | INIT-$(CONFIG_REBOOT) += reboot.o |
31 | INIT-$(CONFIG_START_STOP_DAEMON) += start_stop_daemon.o | 31 | INIT-$(CONFIG_START_STOP_DAEMON) += start_stop_daemon.o |
32 | INIT-$(CONFIG_RUN_PARTS) += run_parts.o | ||
33 | 32 | ||
34 | libraries-y+=$(INIT_DIR)$(INIT_AR) | 33 | libraries-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 | |||
21 | fi | 21 | fi |
22 | 22 | ||
23 | bool 'start-stop-daemon' CONFIG_START_STOP_DAEMON | 23 | bool 'start-stop-daemon' CONFIG_START_STOP_DAEMON |
24 | bool 'run-parts' CONFIG_RUN_PARTS | ||
25 | bool 'mesg' CONFIG_MESG | 24 | bool 'mesg' CONFIG_MESG |
26 | 25 | ||
27 | endmenu | 26 | endmenu |
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 | |||
30 | MISCUTILS-$(CONFIG_DC) += dc.o | 30 | MISCUTILS-$(CONFIG_DC) += dc.o |
31 | MISCUTILS-$(CONFIG_DUTMP) += dutmp.o | 31 | MISCUTILS-$(CONFIG_DUTMP) += dutmp.o |
32 | MISCUTILS-$(CONFIG_MAKEDEVS) += makedevs.o | 32 | MISCUTILS-$(CONFIG_MAKEDEVS) += makedevs.o |
33 | MISCUTILS-$(CONFIG_MKTEMP) += mktemp.o | ||
34 | MISCUTILS-$(CONFIG_MT) += mt.o | 33 | MISCUTILS-$(CONFIG_MT) += mt.o |
35 | MISCUTILS-$(CONFIG_READLINK) += readlink.o | ||
36 | MISCUTILS-$(CONFIG_STRINGS) += strings.o | 34 | MISCUTILS-$(CONFIG_STRINGS) += strings.o |
37 | MISCUTILS-$(CONFIG_TIME) += time.o | 35 | MISCUTILS-$(CONFIG_TIME) += time.o |
38 | MISCUTILS-$(CONFIG_UPDATE) += update.o | 36 | MISCUTILS-$(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 | |||
12 | bool 'dc' CONFIG_DC | 12 | bool 'dc' CONFIG_DC |
13 | bool 'dutmp' CONFIG_DUTMP | 13 | bool 'dutmp' CONFIG_DUTMP |
14 | bool 'makedevs' CONFIG_MAKEDEVS | 14 | bool 'makedevs' CONFIG_MAKEDEVS |
15 | bool 'mktemp' CONFIG_MKTEMP | ||
16 | bool 'mt' CONFIG_MT | 15 | bool 'mt' CONFIG_MT |
17 | bool 'readlink' CONFIG_READLINK | ||
18 | bool 'strings' CONFIG_STRINGS | 16 | bool 'strings' CONFIG_STRINGS |
19 | bool 'time' CONFIG_TIME | 17 | bool 'time' CONFIG_TIME |
20 | bool 'update' CONFIG_UPDATE | 18 | bool '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 | ||
32 | source archival/config.in | 32 | source archival/config.in |
33 | source console-tools/config.in | 33 | source console-tools/config.in |
34 | source debianutils/config.in | ||
34 | source editors/config.in | 35 | source editors/config.in |
36 | source fileutils/config.in | ||
35 | source findutils/config.in | 37 | source findutils/config.in |
36 | source init/config.in | 38 | source init/config.in |
39 | source loginutils/config.in | ||
37 | source miscutils/config.in | 40 | source miscutils/config.in |
38 | source modutils/config.in | 41 | source modutils/config.in |
39 | source networking/config.in | 42 | source networking/config.in |
40 | source loginutils/config.in | ||
41 | source procps/config.in | 43 | source procps/config.in |
42 | source shell/config.in | 44 | source shell/config.in |
43 | source shellutils/config.in | 45 | source shellutils/config.in |
44 | source sysklogd/config.in | 46 | source sysklogd/config.in |
45 | source textutils/config.in | 47 | source textutils/config.in |
46 | source util-linux/config.in | 48 | source util-linux/config.in |
47 | source fileutils/config.in | ||
48 | 49 | ||