tools: always create $STAGING_DIR/usr/{include,lib}
authorAndre Heider <a.heider@gmail.com>
Thu, 20 Aug 2020 06:06:37 +0000 (08:06 +0200)
committerRISCi_ATOM <bob@bobcall.me>
Fri, 11 Dec 2020 01:23:36 +0000 (20:23 -0500)
commit78886da9036f727d3237a1e3b47541c0488382f4
tree8b2242cecfa1059c6ffb62368485e2004e18a43a
parent3e8eb3768e987314b06471f6ff8b3b196a0a842b
tools: always create $STAGING_DIR/usr/{include,lib}

rules.mk always passes these as -I/-L to the toolchain.

Fixes rare errors like:
cc1: error: staging_dir/target-aarch64_cortex-a53_musl/usr/include: No such file or directory [-Werror=missing-include-dirs]

Signed-off-by: Andre Heider <a.heider@gmail.com>
Acked-by: Paul Spooren <mail@aparcar.org>
Acked-by: Rosen Penev <rosenp@gmail.com>
[fixed merge conflict]
Signed-off-by: Petr Štetiar <ynezz@true.cz>
(cherry picked from commit b0cb305236524095bfd899449b0ad8eb821cb3bb)
tools/Makefile