mirror of
https://github.com/sheumann/hush.git
synced 2024-12-25 18:33:06 +00:00
Move readlink, mktemp, run-parts and which to a new debianutils dir.
This commit is contained in:
parent
c11986d89e
commit
8f0722a53b
2
Makefile
2
Makefile
@ -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
|
||||
|
30
debianutils/Makefile
Normal file
30
debianutils/Makefile
Normal file
@ -0,0 +1,30 @@
|
||||
# Makefile for busybox
|
||||
#
|
||||
# Copyright (C) 1999-2002 Erik Andersen <andersee@debian.org>
|
||||
#
|
||||
# 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)
|
||||
|
36
debianutils/Makefile.in
Normal file
36
debianutils/Makefile.in
Normal file
@ -0,0 +1,36 @@
|
||||
# Makefile for busybox
|
||||
#
|
||||
# Copyright (C) 1999-2002 Erik Andersen <andersee@debian.org>
|
||||
#
|
||||
# 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))
|
||||
|
15
debianutils/config.in
Normal file
15
debianutils/config.in
Normal file
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
||||
|
@ -2262,6 +2262,7 @@
|
||||
#define which_example_usage \
|
||||
"$ which login\n" \
|
||||
"/bin/login\n"
|
||||
|
||||
#define who_trivial_usage \
|
||||
" "
|
||||
#define who_full_usage \
|
||||
|
@ -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)
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user