toolchain-wrapper: remove remaining references to HOST_DIR/usr
Commit14151d77af
that eliminated $(HOST_DIR)/usr seriously missed the toolchain-wrapper - only a single reference was updated, the other three were missed. Commit015d68c84c
removed one more. This commit finally removes the two remaining ones. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
ce58db7232
commit
2a47bd37b5
@ -208,14 +208,14 @@ int main(int argc, char **argv)
|
|||||||
#elif defined(BR_CROSS_PATH_ABS)
|
#elif defined(BR_CROSS_PATH_ABS)
|
||||||
ret = snprintf(path, sizeof(path), BR_CROSS_PATH_ABS "/%s" BR_CROSS_PATH_SUFFIX, basename);
|
ret = snprintf(path, sizeof(path), BR_CROSS_PATH_ABS "/%s" BR_CROSS_PATH_SUFFIX, basename);
|
||||||
#else
|
#else
|
||||||
ret = snprintf(path, sizeof(path), "%s/usr/bin/%s" BR_CROSS_PATH_SUFFIX, absbasedir, basename);
|
ret = snprintf(path, sizeof(path), "%s/bin/%s" BR_CROSS_PATH_SUFFIX, absbasedir, basename);
|
||||||
#endif
|
#endif
|
||||||
if (ret >= sizeof(path)) {
|
if (ret >= sizeof(path)) {
|
||||||
perror(__FILE__ ": overflow");
|
perror(__FILE__ ": overflow");
|
||||||
return 3;
|
return 3;
|
||||||
}
|
}
|
||||||
#ifdef BR_CCACHE
|
#ifdef BR_CCACHE
|
||||||
ret = snprintf(ccache_path, sizeof(ccache_path), "%s/usr/bin/ccache", absbasedir);
|
ret = snprintf(ccache_path, sizeof(ccache_path), "%s/bin/ccache", absbasedir);
|
||||||
if (ret >= sizeof(ccache_path)) {
|
if (ret >= sizeof(ccache_path)) {
|
||||||
perror(__FILE__ ": overflow");
|
perror(__FILE__ ": overflow");
|
||||||
return 3;
|
return 3;
|
||||||
|
Loading…
Reference in New Issue
Block a user