summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--patches/coreutils-5.2.1/fix-declaration.diff92
-rw-r--r--patches/coreutils-5.2.1/series1
l---------patches/coreutils-8.2/autogen.sh1
-rw-r--r--patches/coreutils-8.2/coreutils-8.2-clock_gettime.diff35
-rw-r--r--patches/coreutils-8.2/series1
-rw-r--r--rules/coreutils.in421
-rw-r--r--rules/coreutils.make391
7 files changed, 767 insertions, 175 deletions
diff --git a/patches/coreutils-5.2.1/fix-declaration.diff b/patches/coreutils-5.2.1/fix-declaration.diff
deleted file mode 100644
index b11b98fd3..000000000
--- a/patches/coreutils-5.2.1/fix-declaration.diff
+++ /dev/null
@@ -1,92 +0,0 @@
-Subject: fix declarations
-From: Marc Kleine-Budde <mkl@pengutronix.de>
-
-This patch fixes these errors:
-
-test.c:129: error: static declaration of 'eaccess' follows non-static declaration
-/usr/include/unistd.h:268: error: previous declaration of 'eaccess' was here
-
-tee.c:34: error: conflicting types for 'tee'
-/usr/include/bits/fcntl.h:233: error: previous declaration of 'tee' was here
-
-Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
-
----
- src/tee.c | 6 +++---
- src/test.c | 10 +++++-----
- 2 files changed, 8 insertions(+), 8 deletions(-)
-
-Index: coreutils-5.2.1/src/test.c
-===================================================================
---- coreutils-5.2.1.orig/src/test.c
-+++ coreutils-5.2.1/src/test.c
-@@ -125,7 +125,7 @@ test_syntax_error (char const *format, c
- /* Do the same thing access(2) does, but use the effective uid and gid. */
-
- static int
--eaccess (char const *file, int mode)
-+_eaccess (char const *file, int mode)
- {
- static int have_ids;
- static uid_t uid, euid;
-@@ -158,7 +158,7 @@ eaccess (char const *file, int mode)
- return result;
- }
- #else
--# define eaccess(F, M) euidaccess (F, M)
-+# define _eaccess(F, M) euidaccess (F, M)
- #endif
-
- /* Increment our position in the argument list. Check that we're not
-@@ -623,17 +623,17 @@ unary_operator (void)
-
- case 'r': /* file is readable? */
- unary_advance ();
-- value = -1 != eaccess (argv[pos - 1], R_OK);
-+ value = -1 != _eaccess (argv[pos - 1], R_OK);
- return (TRUE == value);
-
- case 'w': /* File is writable? */
- unary_advance ();
-- value = -1 != eaccess (argv[pos - 1], W_OK);
-+ value = -1 != _eaccess (argv[pos - 1], W_OK);
- return (TRUE == value);
-
- case 'x': /* File is executable? */
- unary_advance ();
-- value = -1 != eaccess (argv[pos - 1], X_OK);
-+ value = -1 != _eaccess (argv[pos - 1], X_OK);
- return (TRUE == value);
-
- case 'O': /* File is owned by you? */
-Index: coreutils-5.2.1/src/tee.c
-===================================================================
---- coreutils-5.2.1.orig/src/tee.c
-+++ coreutils-5.2.1/src/tee.c
-@@ -31,7 +31,7 @@
-
- #define AUTHORS "Mike Parker", "Richard M. Stallman", "David MacKenzie"
-
--static int tee (int nfiles, const char **files);
-+static int _tee (int nfiles, const char **files);
-
- /* If nonzero, append to output files rather than truncating them. */
- static int append;
-@@ -146,7 +146,7 @@ main (int argc, char **argv)
- /* Do *not* warn if tee is given no file arguments.
- POSIX requires that it work when given no arguments. */
-
-- errs = tee (argc - optind, (const char **) &argv[optind]);
-+ errs = _tee (argc - optind, (const char **) &argv[optind]);
- if (close (STDIN_FILENO) != 0)
- error (EXIT_FAILURE, errno, _("standard input"));
-
-@@ -158,7 +158,7 @@ main (int argc, char **argv)
- Return 0 if successful, 1 if any errors occur. */
-
- static int
--tee (int nfiles, const char **files)
-+_tee (int nfiles, const char **files)
- {
- FILE **descriptors;
- char buffer[BUFSIZ];
diff --git a/patches/coreutils-5.2.1/series b/patches/coreutils-5.2.1/series
deleted file mode 100644
index eda9d2563..000000000
--- a/patches/coreutils-5.2.1/series
+++ /dev/null
@@ -1 +0,0 @@
-fix-declaration.diff
diff --git a/patches/coreutils-8.2/autogen.sh b/patches/coreutils-8.2/autogen.sh
new file mode 120000
index 000000000..9f8a4cb7d
--- /dev/null
+++ b/patches/coreutils-8.2/autogen.sh
@@ -0,0 +1 @@
+../autogen.sh \ No newline at end of file
diff --git a/patches/coreutils-8.2/coreutils-8.2-clock_gettime.diff b/patches/coreutils-8.2/coreutils-8.2-clock_gettime.diff
new file mode 100644
index 000000000..600a4335c
--- /dev/null
+++ b/patches/coreutils-8.2/coreutils-8.2-clock_gettime.diff
@@ -0,0 +1,35 @@
+Subject: [patch] tac needs $(LIB_CLOCK_GETTIME)
+From: Robert Schwebel <r.schwebel@pengutronix.de>
+
+I get this linker error:
+
+make[4]: Entering directory `/home/rsc/svn/oselas/bsp/pengutronix/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-ARM-reference/build-target/coreutils-8.2/src'
+arm-1136jfs-linux-gnueabi-gcc -std=gnu99 -g -O2 -L/home/rsc/svn/oselas/bsp/pengutronix/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-ARM-reference/sysroot-target/lib -L/home/rsc/svn/oselas/bsp/pengutronix/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-ARM-reference/sysroot-target/usr/lib -Wl,-rpath-link -Wl,/home/rsc/svn/oselas/bsp/pengutronix/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-ARM-reference/sysroot-target/lib -Wl,-rpath-link -Wl,/home/rsc/svn/oselas/bsp/pengutronix/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-ARM-reference/sysroot-target/usr/lib -Wl,--as-needed -o tac tac.o libver.a ../lib/libcoreutils.a ../lib/libcoreutils.a
+../lib/libcoreutils.a(gethrxtime.o): In function `gethrxtime':
+/home/rsc/svn/oselas/bsp/pengutronix/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-ARM-reference/build-target/coreutils-8.2/lib/gethrxtime.c:46: undefined reference to `clock_gettime'
+../lib/libcoreutils.a(gettime.o): In function `gettime':
+/home/rsc/svn/oselas/bsp/pengutronix/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-ARM-reference/build-target/coreutils-8.2/lib/gettime.c:36: undefined reference to `clock_gettime'
+collect2: ld returned 1 exit status
+make[4]: Leaving directory `/home/rsc/svn/oselas/bsp/pengutronix/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-ARM-reference/build-target/coreutils-8.2/src'
+make[4]: *** [tac] Error 1
+
+We need $(LIB_CLOCK_GETTIME) to link the tac tool.
+
+Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
+
+---
+ src/Makefile.am | 1 +
+ 1 file changed, 1 insertion(+)
+
+Index: coreutils-8.2/src/Makefile.am
+===================================================================
+--- coreutils-8.2.orig/src/Makefile.am
++++ coreutils-8.2/src/Makefile.am
+@@ -323,6 +323,7 @@ date_LDADD += $(LIB_CLOCK_GETTIME)
+ ginstall_LDADD += $(LIB_CLOCK_GETTIME)
+ ls_LDADD += $(LIB_CLOCK_GETTIME)
+ pr_LDADD += $(LIB_CLOCK_GETTIME)
++tac_LDADD += $(LIB_CLOCK_GETTIME)
+ touch_LDADD += $(LIB_CLOCK_GETTIME)
+
+ # for gethrxtime, randint, randread, gen_tempname
diff --git a/patches/coreutils-8.2/series b/patches/coreutils-8.2/series
new file mode 100644
index 000000000..147f5fb11
--- /dev/null
+++ b/patches/coreutils-8.2/series
@@ -0,0 +1 @@
+coreutils-8.2-clock_gettime.diff
diff --git a/rules/coreutils.in b/rules/coreutils.in
index 181a52a8f..5285eac23 100644
--- a/rules/coreutils.in
+++ b/rules/coreutils.in
@@ -7,25 +7,182 @@ menuconfig COREUTILS
if COREUTILS
-config COREUTILS_CP
+config COREUTILS_ECHO
bool
- prompt "cp"
- depends on !BUSYBOX_CP || ALLYES
+ prompt "echo"
+
+config COREUTILS_STAT
+ bool
+ prompt "stat"
+
+config COREUTILS_DATE
+ bool
+ prompt "date"
+
+config COREUTILS_HOSTID
+ bool
+ prompt "hostid"
+
+config COREUTILS_UNAME
+ bool
+ prompt "uname"
+
+config COREUTILS_DIRCOLORS
+ bool
+ prompt "dircolors"
+
+config COREUTILS_SEQ
+ bool
+ prompt "seq"
+ depends on !BUSYBOX_SEQ || ALLYES
help
- copy files and directories
+ print a sequence of numbers
-comment "BusyBox' cp is selected!"
- depends on BUSYBOX_CP
+comment "BusyBox' seq is selected!"
+ depends on BUSYBOX_SEQ
-config COREUTILS_DD
+config COREUTILS_NOHUP
bool
- prompt "dd"
- depends on !BUSYBOX_DD || ALLYES
+ prompt "nohup"
+
+config COREUTILS_GROUPS
+ bool
+ prompt "groups"
+
+config COREUTILS_SHA224SUM
+ bool
+ prompt "sha224sum"
+
+config COREUTILS_EXPR
+ bool
+ prompt "expr"
+
+config COREUTILS_TRUNCATE
+ bool
+ prompt "truncate"
+
+config COREUTILS_CHCON
+ bool
+ prompt "chcon"
+
+config COREUTILS_PRINTF
+ bool
+ prompt "printf"
+
+config COREUTILS_RMDIR
+ bool
+ prompt "rmdir"
+
+config COREUTILS_PRINTENV
+ bool
+ prompt "printenv"
+
+config COREUTILS_EXPAND
+ bool
+ prompt "expand"
+
+config COREUTILS_CHMOD
+ bool
+ prompt "chmod"
+
+config COREUTILS_CHOWN
+ bool
+ prompt "chown"
+
+config COREUTILS_SHA512SUM
+ bool
+ prompt "sha512sum"
+
+config COREUTILS_UNIQ
+ bool
+ prompt "uniq"
+
+config COREUTILS_INSTALL
+ bool
+ prompt "install"
+
+config COREUTILS_TTY
+ bool
+ prompt "tty"
+
+config COREUTILS_SHA384SUM
+ bool
+ prompt "sha384sum"
+
+config COREUTILS_CUT
+ bool
+ prompt "cut"
+
+config COREUTILS_SHRED
+ bool
+ prompt "shred"
+
+config COREUTILS_OD
+ bool
+ prompt "od"
+
+config COREUTILS_CHGRP
+ bool
+ prompt "chgrp"
+
+config COREUTILS_DIR
+ bool
+ prompt "dir"
+
+config COREUTILS_MKFIFO
+ bool
+ prompt "mkfifo"
+
+config COREUTILS_CHROOT
+ bool
+ prompt "chroot"
+
+config COREUTILS_LN
+ bool
+ prompt "ln"
+
+config COREUTILS_SUM
+ bool
+ prompt "sum"
+
+config COREUTILS_USERS
+ bool
+ prompt "users"
+
+config COREUTILS_TOUCH
+ bool
+ prompt "touch"
+
+config COREUTILS_PASTE
+ bool
+ prompt "paste"
+
+config COREUTILS_MKNOD
+ bool
+ prompt "mknod"
+
+config COREUTILS_TSORT
+ bool
+ prompt "tsort"
+
+config COREUTILS_MKTEMP
+ bool
+ prompt "mktemp"
+
+config COREUTILS_RUNCON
+ bool
+ prompt "runcon"
+
+config COREUTILS_READLINK
+ bool
+ prompt "readlink"
+ depends on !BUSYBOX_READLINK || ALLYES
help
- convert and copy a file
+ the readlink tool
-comment "BusyBox' dd is selected!"
- depends on COREUTILS && BUSYBOX_DD
+config COREUTILS_TAC
+ bool
+ prompt "tac"
config COREUTILS_MD5SUM
bool
@@ -37,21 +194,241 @@ config COREUTILS_MD5SUM
comment "BusyBox' md5sum is selected!"
depends on BUSYBOX_MD5SUM
-config COREUTILS_READLINK
+config COREUTILS_DD
bool
- prompt "readlink"
- depends on !BUSYBOX_READLINK || ALLYES
+ prompt "dd"
+ depends on !BUSYBOX_DD || ALLYES
help
- the readlink tool
+ convert and copy a file
-config COREUTILS_SEQ
+comment "BusyBox' dd is selected!"
+ depends on COREUTILS && BUSYBOX_DD
+
+config COREUTILS_YES
bool
- prompt "seq"
- depends on !BUSYBOX_SEQ || ALLYES
+ prompt "yes"
+
+config COREUTILS_FACTOR
+ bool
+ prompt "factor"
+
+config COREUTILS_JOIN
+ bool
+ prompt "join"
+
+config COREUTILS_PWD
+ bool
+ prompt "pwd"
+
+config COREUTILS_SHUF
+ bool
+ prompt "shuf"
+
+config COREUTILS_SHA1SUM
+ bool
+ prompt "sha1sum"
+
+config COREUTILS_TR
+ bool
+ prompt "tr"
+
+config COREUTILS_CSPLIT
+ bool
+ prompt "csplit"
+
+config COREUTILS_DU
+ bool
+ prompt "du"
+
+config COREUTILS_TAIL
+ bool
+ prompt "tail"
+
+config COREUTILS_PTX
+ bool
+ prompt "ptx"
+
+config COREUTILS_BASE64
+ bool
+ prompt "base64"
+
+config COREUTILS_TIMEOUT
+ bool
+ prompt "timeout"
+
+config COREUTILS_SORT
+ bool
+ prompt "sort"
+
+config COREUTILS_FALSE
+ bool
+ prompt "false"
+
+config COREUTILS_DIRNAME
+ bool
+ prompt "dirname"
+
+config COREUTILS_TEST
+ bool
+ prompt "test"
+
+config COREUTILS_FMT
+ bool
+ prompt "fmt"
+
+config COREUTILS_STDBUF
+ bool
+ prompt "stdbuf"
+
+config COREUTILS_PINKY
+ bool
+ prompt "pinky"
+
+config COREUTILS_BASENAME
+ bool
+ prompt "basename"
+
+config COREUTILS_ID
+ bool
+ prompt "id"
+
+config COREUTILS_LINK
+ bool
+ prompt "link"
+
+config COREUTILS_SLEEP
+ bool
+ prompt "sleep"
+
+config COREUTILS_SHA256SUM
+ bool
+ prompt "sha256sum"
+
+config COREUTILS_ENV
+ bool
+ prompt "env"
+
+config COREUTILS_WHO
+ bool
+ prompt "who"
+
+config COREUTILS_LOGNAME
+ bool
+ prompt "logname"
+
+config COREUTILS_WHOAMI
+ bool
+ prompt "whoami"
+
+config COREUTILS_STTY
+ bool
+ prompt "stty"
+
+config COREUTILS_PATHCHK
+ bool
+ prompt "pathchk"
+
+config COREUTILS_NL
+ bool
+ prompt "nl"
+
+config COREUTILS_WC
+ bool
+ prompt "wc"
+
+config COREUTILS_UNLINK
+ bool
+ prompt "unlink"
+
+config COREUTILS_UNEXPAND
+ bool
+ prompt "unexpand"
+
+config COREUTILS_NPROC
+ bool
+ prompt "nproc"
+
+config COREUTILS_VDIR
+ bool
+ prompt "vdir"
+
+config COREUTILS_SYNC
+ bool
+ prompt "sync"
+
+config COREUTILS_RM
+ bool
+ prompt "rm"
+
+config COREUTILS_CKSUM
+ bool
+ prompt "cksum"
+
+config COREUTILS_TEE
+ bool
+ prompt "tee"
+
+config COREUTILS_MKDIR
+ bool
+ prompt "mkdir"
+
+config COREUTILS_MV
+ bool
+ prompt "mv"
+
+config COREUTILS_LS
+ bool
+ prompt "ls"
+
+config COREUTILS_HEAD
+ bool
+ prompt "head"
+
+config COREUTILS_TRUE
+ bool
+ prompt "true"
+
+config COREUTILS_CAT
+ bool
+ prompt "cat"
+
+config COREUTILS_KILL
+ bool
+ prompt "kill"
+
+config COREUTILS_CP
+ bool
+ prompt "cp"
+ depends on !BUSYBOX_CP || ALLYES
help
- print a sequence of numbers
+ copy files and directories
-comment "BusyBox' seq is selected!"
- depends on BUSYBOX_SEQ
+comment "BusyBox' cp is selected!"
+ depends on BUSYBOX_CP
+
+config COREUTILS_COMM
+ bool
+ prompt "comm"
+
+config COREUTILS_SPLIT
+ bool
+ prompt "split"
+
+config COREUTILS_FOLD
+ bool
+ prompt "fold"
+
+config COREUTILS_PR
+ bool
+ prompt "pr"
+
+config COREUTILS_UPTIME
+ bool
+ prompt "uptime"
+
+config COREUTILS_NICE
+ bool
+ prompt "nice"
endif
+
diff --git a/rules/coreutils.make b/rules/coreutils.make
index 88cca9b9e..a583adc76 100644
--- a/rules/coreutils.make
+++ b/rules/coreutils.make
@@ -16,12 +16,12 @@ PACKAGES-$(PTXCONF_COREUTILS) += coreutils
#
# Paths and names
#
-COREUTILS_VERSION := 5.2.1
+COREUTILS_VERSION := 8.2
COREUTILS := coreutils-$(COREUTILS_VERSION)
-COREUTILS_URL := $(PTXCONF_SETUP_GNUMIRROR)/coreutils/$(COREUTILS).tar.bz2
-COREUTILS_SOURCE := $(SRCDIR)/$(COREUTILS).tar.bz2
+COREUTILS_URL := $(PTXCONF_SETUP_GNUMIRROR)/coreutils/$(COREUTILS).tar.gz
+COREUTILS_SOURCE := $(SRCDIR)/$(COREUTILS).tar.gz
COREUTILS_DIR := $(BUILDDIR)/$(COREUTILS)
-
+COREUTILS_LICENSE := GPLv3
# ----------------------------------------------------------------------------
# Get
@@ -35,57 +35,45 @@ $(COREUTILS_SOURCE):
# Prepare
# ----------------------------------------------------------------------------
+# --enable-install-program=PROG_LIST
+# install the programs in PROG_LIST (comma-separated,
+# default: none)
+# --enable-no-install-program=PROG_LIST
+# do NOT install the programs in PROG_LIST
+# (comma-separated, default: arch,hostname,su)
+# --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
+# --without-libiconv-prefix don't search for libiconv in includedir and libdir
+# --with-libpth-prefix[=DIR] search for libpth in DIR/include and DIR/lib
+# --without-libpth-prefix don't search for libpth in includedir and libdir
+# --without-included-regex
+# don't compile regex; this is the default on systems
+# with recent-enough versions of the GNU C Library
+# (use with caution on other systems).
+# --with-packager String identifying the packager of this software
+# --with-packager-version Packager-specific version information
+# --with-packager-bug-reports
+# Packager info for bug reports (URL/e-mail/...)
+# --without-gmp do not use the GNU MP library for arbitrary
+# precision calculation (default: use it if available)
+# --with-libintl-prefix[=DIR] search for libintl in DIR/include and DIR/lib
+# --without-libintl-prefix don't search for libintl in includedir and libdir
+
COREUTILS_AUTOCONF := \
$(CROSS_AUTOCONF_USR) \
--target=$(PTXCONF_GNU_TARGET) \
+ --disable-silent-rules \
+ --enable-threads=posix \
+ --disable-acl \
+ --disable-assert \
+ --disable-rpath \
+ --enable-largefile \
+ --disable-xattr \
+ --disable-libcap \
--disable-nls
COREUTILS_PATH := PATH=$(CROSS_PATH)
COREUTILS_ENV := $(CROSS_ENV)
-$(STATEDIR)/coreutils.prepare:
- @$(call targetinfo)
-
- cd $(COREUTILS_DIR) && \
- $(COREUTILS_PATH) $(COREUTILS_ENV) \
- ./configure $(COREUTILS_AUTOCONF)
-
- cd $(COREUTILS_DIR)/src && make localedir.h
-
- @$(call touch)
-
-# ----------------------------------------------------------------------------
-# Compile
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/coreutils.compile:
- @$(call targetinfo)
- $(COREUTILS_PATH) make -C $(COREUTILS_DIR)/lib libfetish.a
-ifdef PTXCONF_COREUTILS_CP
- $(COREUTILS_PATH) make -C $(COREUTILS_DIR)/src cp
-endif
-ifdef PTXCONF_COREUTILS_DD
- $(COREUTILS_PATH) make -C $(COREUTILS_DIR)/src dd
-endif
-ifdef PTXCONF_COREUTILS_MD5SUM
- $(COREUTILS_PATH) make -C $(COREUTILS_DIR)/src md5sum
-endif
-ifdef PTXCONF_COREUTILS_READLINK
- $(COREUTILS_PATH) make -C $(COREUTILS_DIR)/src readlink
-endif
-ifdef PTXCONF_COREUTILS_SEQ
- $(COREUTILS_PATH) make -C $(COREUTILS_DIR)/src seq
-endif
- @$(call touch)
-
-# ----------------------------------------------------------------------------
-# Install
-# ----------------------------------------------------------------------------
-
-$(STATEDIR)/coreutils.install:
- @$(call targetinfo)
- @$(call touch)
-
# ----------------------------------------------------------------------------
# Target-Install
# ----------------------------------------------------------------------------
@@ -93,33 +81,316 @@ $(STATEDIR)/coreutils.install:
$(STATEDIR)/coreutils.targetinstall:
@$(call targetinfo)
- @$(call install_init, coreutils)
+ @$(call install_init, coreutils)
@$(call install_fixup, coreutils,PACKAGE,coreutils)
@$(call install_fixup, coreutils,PRIORITY,optional)
@$(call install_fixup, coreutils,VERSION,$(COREUTILS_VERSION))
@$(call install_fixup, coreutils,SECTION,base)
- @$(call install_fixup, coreutils,AUTHOR,"Robert Schwebel <r.schwebel\@pengutronix.de>")
+ @$(call install_fixup, coreutils,AUTHOR,"Robert Schwebel <r.schwebel@pengutronix.de>")
@$(call install_fixup, coreutils,DEPENDS,)
@$(call install_fixup, coreutils,DESCRIPTION,missing)
-ifdef PTXCONF_COREUTILS_CP
- @$(call install_copy, coreutils, 0, 0, 0755, $(COREUTILS_DIR)/src/cp, /bin/cp)
+ @$(call install_copy, coreutils, 0, 0, 0644, -, /usr/lib/coreutils/libstdbuf.so)
+
+ifdef PTXCONF_COREUTILS_ECHO
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/cp)
endif
-ifdef PTXCONF_COREUTILS_DD
- @$(call install_copy, coreutils, 0, 0, 0755, $(COREUTILS_DIR)/src/dd, /bin/dd)
+ifdef PTXCONF_COREUTILS_STAT
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/stat)
endif
-ifdef PTXCONF_COREUTILS_MD5SUM
- @$(call install_copy, coreutils, 0, 0, 0755, $(COREUTILS_DIR)/src/md5sum, /usr/bin/md5sum)
+ifdef PTXCONF_COREUTILS_DATE
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/date)
endif
-ifdef PTXCONF_COREUTILS_READLINK
- @$(call install_copy, coreutils, 0, 0, 0755, $(COREUTILS_DIR)/src/readlink, /usr/bin/readlink)
+ifdef PTXCONF_COREUTILS_HOSTID
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/hostid)
+endif
+ifdef PTXCONF_COREUTILS_UNAME
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/uname)
+endif
+ifdef PTXCONF_COREUTILS_DIRCOLORS
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/dircolors)
endif
ifdef PTXCONF_COREUTILS_SEQ
- @$(call install_copy, coreutils, 0, 0, 0755, $(COREUTILS_DIR)/src/seq, /usr/bin/seq)
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/seq)
+endif
+ifdef PTXCONF_COREUTILS_NOHUP
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/nohup)
+endif
+ifdef PTXCONF_COREUTILS_GROUPS
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/groups)
+endif
+ifdef PTXCONF_COREUTILS_SHA224SUM
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/sha224sum)
+endif
+ifdef PTXCONF_COREUTILS_EXPR
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/expr)
+endif
+ifdef PTXCONF_COREUTILS_TRUNCATE
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/truncate)
+endif
+ifdef PTXCONF_COREUTILS_CHCON
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/chcon)
+endif
+ifdef PTXCONF_COREUTILS_PRINTF
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/printf)
+endif
+ifdef PTXCONF_COREUTILS_RMDIR
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/rmdir)
+endif
+ifdef PTXCONF_COREUTILS_PRINTENV
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/printenv)
+endif
+ifdef PTXCONF_COREUTILS_EXPAND
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/expand)
+endif
+ifdef PTXCONF_COREUTILS_CHMOD
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/chmod)
+endif
+ifdef PTXCONF_COREUTILS_CHOWN
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/chown)
+endif
+ifdef PTXCONF_COREUTILS_SHA512SUM
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/sha512sum)
+endif
+ifdef PTXCONF_COREUTILS_UNIQ
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/uniq)
+endif
+ifdef PTXCONF_COREUTILS_INSTALL
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/install)
+endif
+ifdef PTXCONF_COREUTILS_TTY
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/tty)
+endif
+ifdef PTXCONF_COREUTILS_SHA384SUM
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/sha384sum)
+endif
+ifdef PTXCONF_COREUTILS_CUT
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/cut)
+endif
+ifdef PTXCONF_COREUTILS_SHRED
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/shred)
+endif
+ifdef PTXCONF_COREUTILS_OD
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/od)
+endif
+ifdef PTXCONF_COREUTILS_CHGRP
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/chgrp)
+endif
+ifdef PTXCONF_COREUTILS_DIR
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/dir)
+endif
+ifdef PTXCONF_COREUTILS_MKFIFO
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/mkfifo)
+endif
+ifdef PTXCONF_COREUTILS_CHROOT
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/chroot)
+endif
+ifdef PTXCONF_COREUTILS_LN
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/ln)
+endif
+ifdef PTXCONF_COREUTILS_SUM
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/sum)
+endif
+ifdef PTXCONF_COREUTILS_USERS
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/users)
+endif
+ifdef PTXCONF_COREUTILS_TOUCH
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/touch)
+endif
+ifdef PTXCONF_COREUTILS_PASTE
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/paste)
+endif
+ifdef PTXCONF_COREUTILS_MKNOD
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/mknod)
+endif
+ifdef PTXCONF_COREUTILS_TSORT
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/tsort)
+endif
+ifdef PTXCONF_COREUTILS_MKTEMP
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/mktemp)
+endif
+ifdef PTXCONF_COREUTILS_RUNCON
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/runcon)
+endif
+ifdef PTXCONF_COREUTILS_READLINK
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/readlink)
+endif
+ifdef PTXCONF_COREUTILS_TAC
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/tac)
+endif
+ifdef PTXCONF_COREUTILS_MD5SUM
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/md5sum)
+endif
+ifdef PTXCONF_COREUTILS_DD
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/dd)
+endif
+ifdef PTXCONF_COREUTILS_YES
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/yes)
+endif
+ifdef PTXCONF_COREUTILS_FACTOR
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/factor)
+endif
+ifdef PTXCONF_COREUTILS_JOIN
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/join)
+endif
+ifdef PTXCONF_COREUTILS_PWD
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/pwd)
+endif
+ifdef PTXCONF_COREUTILS_SHUF
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/shuf)
+endif
+ifdef PTXCONF_COREUTILS_SHA1SUM
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/sha1sum)
+endif
+ifdef PTXCONF_COREUTILS_TR
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/tr)
+endif
+ifdef PTXCONF_COREUTILS_CSPLIT
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/csplit)
+endif
+ifdef PTXCONF_COREUTILS_DU
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/du)
+endif
+ifdef PTXCONF_COREUTILS_TAIL
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/tail)
+endif
+ifdef PTXCONF_COREUTILS_PTX
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/ptx)
+endif
+ifdef PTXCONF_COREUTILS_BASE64
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/base64)
+endif
+ifdef PTXCONF_COREUTILS_TIMEOUT
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/timeout)
+endif
+ifdef PTXCONF_COREUTILS_SORT
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/sort)
+endif
+ifdef PTXCONF_COREUTILS_FALSE
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/false)
+endif
+ifdef PTXCONF_COREUTILS_DIRNAME
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/dirname)
+endif
+ifdef PTXCONF_COREUTILS_TEST
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/test)
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/[)
+endif
+ifdef PTXCONF_COREUTILS_FMT
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/fmt)
+endif
+ifdef PTXCONF_COREUTILS_STDBUF
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/stdbuf)
+endif
+ifdef PTXCONF_COREUTILS_PINKY
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/pinky)
+endif
+ifdef PTXCONF_COREUTILS_BASENAME
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/basename)
+endif
+ifdef PTXCONF_COREUTILS_ID
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/id)
+endif
+ifdef PTXCONF_COREUTILS_LINK
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/link)
+endif
+ifdef PTXCONF_COREUTILS_SLEEP
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/sleep)
+endif
+ifdef PTXCONF_COREUTILS_SHA256SUM
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/sha256sum)
+endif
+ifdef PTXCONF_COREUTILS_ENV
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/env)
+endif
+ifdef PTXCONF_COREUTILS_WHO
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/who)
+endif
+ifdef PTXCONF_COREUTILS_LOGNAME
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/logname)
+endif
+ifdef PTXCONF_COREUTILS_WHOAMI
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/whoami)
+endif
+ifdef PTXCONF_COREUTILS_STTY
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/stty)
+endif
+ifdef PTXCONF_COREUTILS_PATHCHK
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/pathchk)
+endif
+ifdef PTXCONF_COREUTILS_NL
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/nl)
+endif
+ifdef PTXCONF_COREUTILS_WC
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/wc)
+endif
+ifdef PTXCONF_COREUTILS_UNLINK
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/unlink)
+endif
+ifdef PTXCONF_COREUTILS_UNEXPAND
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/unexpand)
+endif
+ifdef PTXCONF_COREUTILS_NPROC
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/nproc)
+endif
+ifdef PTXCONF_COREUTILS_VDIR
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/vdir)
+endif
+ifdef PTXCONF_COREUTILS_SYNC
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/sync)
+endif
+ifdef PTXCONF_COREUTILS_RM
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/rm)
+endif
+ifdef PTXCONF_COREUTILS_CKSUM
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/cksum)
+endif
+ifdef PTXCONF_COREUTILS_TEE
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/tee)
+endif
+ifdef PTXCONF_COREUTILS_MKDIR
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/mkdir)
+endif
+ifdef PTXCONF_COREUTILS_MV
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/mv)
+endif
+ifdef PTXCONF_COREUTILS_LS
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/ls)
+endif
+ifdef PTXCONF_COREUTILS_HEAD
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/head)
+endif
+ifdef PTXCONF_COREUTILS_TRUE
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/true)
+endif
+ifdef PTXCONF_COREUTILS_CAT
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/cat)
+endif
+ifdef PTXCONF_COREUTILS_KILL
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/kill)
+endif
+ifdef PTXCONF_COREUTILS_CP
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/cp)
+endif
+ifdef PTXCONF_COREUTILS_COMM
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/comm)
+endif
+ifdef PTXCONF_COREUTILS_SPLIT
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/split)
+endif
+ifdef PTXCONF_COREUTILS_FOLD
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/fold)
+endif
+ifdef PTXCONF_COREUTILS_PR
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/pr)
+endif
+ifdef PTXCONF_COREUTILS_UPTIME
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/uptime)
+endif
+ifdef PTXCONF_COREUTILS_NICE
+ @$(call install_copy, coreutils, 0, 0, 0755, -, /usr/bin/nice)
endif
-
@$(call install_finish, coreutils)
-
@$(call touch)
# ----------------------------------------------------------------------------