commit | 6f63b28162cd90215c8639aae6eb61a9d93394aa | [log] [tgz] |
---|---|---|
author | Raul E Rangel <[email protected]> | Fri Jan 24 10:30:22 2025 -0700 |
committer | Chromeos LUCI <[email protected]> | Fri Jan 24 18:13:26 2025 -0800 |
tree | 241216d1001d9ccd05a2b00fdd6f74b4515d3bad | |
parent | 177c0582ad4fcc8455c2f88d734d9d5907224380 [diff] |
Makefile: Optimize dirname invocation Invoking `dirname` for every single source file is slow. This change switches to the `-exec dirname {} +` variant that passes multiple args to `dirname`. With this change I no longer see `dirname` in `top` when watching a build. BUG=b:392102378 BRANCH=none TEST=emerge-brya coreboot Change-Id: I786b91df9516c70b34ff534c4144e228104bea2d Signed-off-by: Raul E Rangel <[email protected]> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/6198688 Reviewed-by: Julius Werner <[email protected]> Commit-Queue: Julius Werner <[email protected]>