← Commit list

8f0722a53

Glenn L McGrath
Glenn L McGrath
2002-11-11
FAILED Duration: 11s

Subject

Move readlink, mktemp, run-parts and which to a new debianutils dir.

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

Makefile+1 -1
@@ -20,7 +20,7 @@
TOPDIR:= $(shell /bin/pwd)/
include $(TOPDIR).config
include $(TOPDIR)Rules.mak
-SUBDIRS:=applets archival archival/libunarchive console-tools \
+SUBDIRS:=applets archival archival/libunarchive console-tools debianutils \
editors fileutils findutils init miscutils modutils networking \
networking/libiproute networking/udhcp procps loginutils shell \
shellutils sysklogd textutils util-linux libbb libpwdgrp
debianutils/Makefile+30 -0
@@ -0,0 +1,30 @@
+# Makefile for busybox
+#
+# Copyright (C) 1999-2002 Erik Andersen <[email protected]>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+
+TOPDIR:= ../
+DEBIANUTILS_DIR:=./
+include $(TOPDIR).config
+include $(TOPDIR)Rules.mak
+include Makefile.in
+all: $(libraries-y)
+-include $(TOPDIR).depend
+
+clean:
+ rm -f *.o *.a $(AR_TARGET)
+
debianutils/Makefile.in+36 -0
@@ -0,0 +1,36 @@
+# Makefile for busybox
+#
+# Copyright (C) 1999-2002 Erik Andersen <[email protected]>
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+#
+
+DEBIANUTILS_AR:=debianutils.a
+ifndef $(DEBIANUTILS_DIR)
+DEBIANUTILS_DIR:=$(TOPDIR)debianutils/
+endif
+
+
+DEBIANUTILS-y:=
+DEBIANUTILS-$(CONFIG_MKTEMP) += mktemp.o
+DEBIANUTILS-$(CONFIG_READLINK) += readlink.o
+DEBIANUTILS-$(CONFIG_RUN_PARTS) += run_parts.o
+DEBIANUTILS-$(CONFIG_WHICH) += which.o
+
+libraries-y+=$(DEBIANUTILS_DIR)$(DEBIANUTILS_AR)
+
+$(DEBIANUTILS_DIR)$(DEBIANUTILS_AR): $(patsubst %,$(DEBIANUTILS_DIR)%, $(DEBIANUTILS-y))
+ $(AR) -ro $@ $(patsubst %,$(DEBIANUTILS_DIR)%, $(DEBIANUTILS-y))
+
debianutils/config.in+15 -0
@@ -0,0 +1,15 @@
+#
+# For a description of the syntax of this configuration file,
+# see scripts/kbuild/config-language.txt.
+#
+
+mainmenu_option next_comment
+comment 'Debian Utilities'
+
+bool 'mktemp' CONFIG_MKTEMP
+bool 'readlink' CONFIG_READLINK
+bool 'run-parts' CONFIG_RUN_PARTS
+bool 'which' CONFIG_WHICH
+
+endmenu
+
?+0 -0
?+0 -0
?+0 -0
?+0 -0
findutils/Makefile.in+0 -1
@@ -25,7 +25,6 @@ endif
FINDUTILS-y:=
FINDUTILS-$(CONFIG_FIND) += find.o
FINDUTILS-$(CONFIG_GREP) += grep.o
-FINDUTILS-$(CONFIG_WHICH) += which.o
FINDUTILS-$(CONFIG_XARGS) += xargs.o
libraries-y+=$(FINDUTILS_DIR)$(FINDUTILS_AR)
findutils/config.in+0 -1
@@ -18,7 +18,6 @@ if [ "$CONFIG_GREP" = "y" ] ; then
bool ' Support extended regular expressions (egrep & grep -E)' CONFIG_FEATURE_GREP_EGREP_ALIAS
bool ' Enable before and after context flags (-A, -B and -C)' CONFIG_FEATURE_GREP_CONTEXT
fi
-bool 'which' CONFIG_WHICH
bool 'xargs' CONFIG_XARGS
endmenu
include/usage.h+1 -0
@@ -2262,6 +2262,7 @@
#define which_example_usage \
"$ which login\n" \
"/bin/login\n"
+
#define who_trivial_usage \
" "
#define who_full_usage \
init/Makefile.in+0 -1
@@ -29,7 +29,6 @@ INIT-$(CONFIG_MESG) += mesg.o
INIT-$(CONFIG_POWEROFF) += poweroff.o
INIT-$(CONFIG_REBOOT) += reboot.o
INIT-$(CONFIG_START_STOP_DAEMON) += start_stop_daemon.o
-INIT-$(CONFIG_RUN_PARTS) += run_parts.o
libraries-y+=$(INIT_DIR)$(INIT_AR)
init/config.in+0 -1
@@ -21,7 +21,6 @@ if [ "$CONFIG_INIT" = "y" ]; then
fi
bool 'start-stop-daemon' CONFIG_START_STOP_DAEMON
-bool 'run-parts' CONFIG_RUN_PARTS
bool 'mesg' CONFIG_MESG
endmenu
miscutils/Makefile.in+0 -2
@@ -30,9 +30,7 @@ MISCUTILS-$(CONFIG_CRONTAB) += crontab.o
MISCUTILS-$(CONFIG_DC) += dc.o
MISCUTILS-$(CONFIG_DUTMP) += dutmp.o
MISCUTILS-$(CONFIG_MAKEDEVS) += makedevs.o
-MISCUTILS-$(CONFIG_MKTEMP) += mktemp.o
MISCUTILS-$(CONFIG_MT) += mt.o
-MISCUTILS-$(CONFIG_READLINK) += readlink.o
MISCUTILS-$(CONFIG_STRINGS) += strings.o
MISCUTILS-$(CONFIG_TIME) += time.o
MISCUTILS-$(CONFIG_UPDATE) += update.o
miscutils/config.in+0 -2
@@ -12,9 +12,7 @@ bool 'crontab' CONFIG_CRONTAB
bool 'dc' CONFIG_DC
bool 'dutmp' CONFIG_DUTMP
bool 'makedevs' CONFIG_MAKEDEVS
-bool 'mktemp' CONFIG_MKTEMP
bool 'mt' CONFIG_MT
-bool 'readlink' CONFIG_READLINK
bool 'strings' CONFIG_STRINGS
bool 'time' CONFIG_TIME
bool 'update' CONFIG_UPDATE
sysdeps/linux/config.in+3 -2
@@ -31,18 +31,19 @@ endmenu
source archival/config.in
source console-tools/config.in
+source debianutils/config.in
source editors/config.in
+source fileutils/config.in
source findutils/config.in
source init/config.in
+source loginutils/config.in
source miscutils/config.in
source modutils/config.in
source networking/config.in
-source loginutils/config.in
source procps/config.in
source shell/config.in
source shellutils/config.in
source sysklogd/config.in
source textutils/config.in
source util-linux/config.in
-source fileutils/config.in