Makefile: bugfix for handling platform paths
authorAlejandro Cabrera Aldaya <aldaya@gmail.com>
Tue, 22 Nov 2022 10:28:25 +0000 (12:28 +0200)
committerAnup Patel <anup@brainfault.org>
Sun, 4 Dec 2022 15:32:33 +0000 (21:02 +0530)
commit49b0e355e6586dbb55bc8bb4d3b073f3e692d765
tree39eae7b850ec7c77c8948db9159ac3b15db667db
parentba3202168339e86b5aa28cccf090cfe6d848d88b
Makefile: bugfix for handling platform paths

If the path where this repo is located contains the platform name on
it, the original Makefile replaced its occurrences from the path making
it an invalid path. This commit prevents this behavior replacing only
the last part of the path as intended.

Signed-off-by: Alejandro Cabrera Aldaya <aldaya@gmail.com>
Reviewed-by: Xiang W <wxjstz@126.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Makefile