aboutsummaryrefslogtreecommitdiff
path: root/tools/coreutils
diff options
context:
space:
mode:
authorMichael Pratt <mcpratt@pm.me>2024-04-04 02:11:28 -0400
committerRobert Marko <robimarko@gmail.com>2024-04-25 21:33:51 +0200
commit5a028a8d737b669d0d30d1ef93981e10f585a0e7 (patch)
tree892665d3aafdbe28f1f6279579e3c83fc7fdbf5e /tools/coreutils
parent99eb0d0e33d1541906af8c0143a8000d6ba4ba25 (diff)
host-build: fix stampfile name substitution per installed binaries
A funny bug was discovered where if the buildroot's path has the name of the build target within it, it will also be substituted along with the stampfile's name for each program, causing an attempt to touch a file in a directory that doesn't exist. ... ... touch: cannot touch '/Volumes/touch/openwrt/staging_dir/host/stamp/.touch_installed': No such file or directory touch: cannot touch '/Volumes/ln/openwrt/staging_dir/host/stamp/.ln_installed': No such file or directory touch: cannot touch '/Volumes/chown/openwrt/staging_dir/host/stamp/.chown_installed': No such file or directory make[2]: *** [Makefile:50: /Volumes/coreutils/openwrt/staging_dir/host/stamp/.coreutils_installed] Error 1 ... ... Split up the path with $(dir) and $(notdir) before substitution to fix the syntax. Reported-by: Georgi Valkov <gvalkov@gmail.com> Tested-by: Georgi Valkov <gvalkov@gmail.com> # MacOS Signed-off-by: Michael Pratt <mcpratt@pm.me> Signed-off-by: Tony Ambardar <itugrok@yahoo.com>
Diffstat (limited to 'tools/coreutils')
0 files changed, 0 insertions, 0 deletions