summaryrefslogtreecommitdiff
path: root/chip/g/flash.c
diff options
context:
space:
mode:
authorCaveh Jalali <caveh@chromium.org>2019-09-12 22:20:37 -0700
committerCommit Bot <commit-bot@chromium.org>2019-09-27 08:21:40 +0000
commit49efdd8a8eaed593beeb8686e40d343f38e82a62 (patch)
treeaff49e40ac86530ae1a7ff57c8c667d89865a840 /chip/g/flash.c
parent06965455e406e113eb0aa497e29d7b4d291c6b32 (diff)
downloadchrome-ec-49efdd8a8eaed593beeb8686e40d343f38e82a62.tar.gz
Makefile.rules: use patsubst instead of subst
the patsubst function is a better function for removing a path prefix as it is anchored at the beginning of the search space. the original "subst" function can match everywhere in the path which leads to weird transformations. patsubst is anchored at the beginning of the string which better suits the intent here. BRANCH=none BUG=none TEST=make buildall passes, $(out) now only removed at beginning of output paths. Change-Id: Ic5fe7aeb5eb8c87aa8bb49ea0865dc07327cb3e5 Signed-off-by: Caveh Jalali <caveh@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1803178 Commit-Queue: Caveh Jalali <caveh@google.com> Reviewed-by: Caveh Jalali <caveh@google.com> Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'chip/g/flash.c')
0 files changed, 0 insertions, 0 deletions