Build touch in coreutils-5.0 pass2

Better touch is very useful for packaging.
This commit is contained in:
fosslinux 2022-01-14 21:54:13 +11:00
parent b8ef19150c
commit 07d4408fb6
2 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,7 @@
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_unpack() {
src_dir="${base_dir}/src"
@ -17,6 +18,8 @@ src_prepare() {
cp lib/search_.h lib/search.h
touch config.h
patch -Np0 -i ../../patches/touch-getdate.patch
# Bison pre-generated file
rm lib/getdate.c

View File

@ -83,7 +83,7 @@ CFLAGS = -I . -I lib \
SRC_DIR=src
COREUTILS = basename cat chmod chroot cksum comm csplit cut dd dirname echo env expand expr factor false fmt fold head id join kill link ln logname mkfifo mkdir mknod nl od paste pathchk printf ptx pwd readlink rmdir seq sleep sort split sum sync tail tee tr tsort uname unexpand uniq unlink wc whoami test true yes
COREUTILS = basename cat chmod chroot cksum comm csplit cut dd dirname echo env expand expr factor false fmt fold head id join kill link ln logname mkfifo mkdir mknod nl od paste pathchk printf ptx pwd readlink rmdir seq sleep sort split sum sync tail tee touch tr tsort uname unexpand uniq unlink wc whoami test true yes
BINARIES = $(addprefix $(SRC_DIR)/, $(COREUTILS))