diff options
author | Patrick Georgi <patrick@georgi-clan.de> | 2011-05-20 23:31:41 +0000 |
---|---|---|
committer | Patrick Georgi <patrick.georgi@coresystems.de> | 2011-05-20 23:31:41 +0000 |
commit | 29ddbb813fecc42ebb40aa52e5dd73696027d791 (patch) | |
tree | bd031e45accca4e8d1d5b28d08e396d09fa4769a /util/lint | |
parent | 64ccc3b80348d5d8e6b8f698ec5ef2b596a46153 (diff) |
Handle absolute source file paths
We used to fail there because we unconditionally prefixed the relative directory where it was referenced.
Tested in various scenarios:
- obj=build
- obj=../obj
- obj=$PWD/../obj
- obj=/some/other/absolute/path
- obj=/./some/other/absolute/path
In-tree relative paths still work as before, the only change in behaviour is when a source file name (as specified in one of the *-y variables) starts with "/".
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Acked-by: Patrick Georgi <patrick@georgi-clan.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6606 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/lint')
0 files changed, 0 insertions, 0 deletions