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)
committerPetr Štetiar <ynezz@true.cz>
Sun, 6 Dec 2020 07:31:03 +0000 (08:31 +0100)
commit5090152ae3a37482dc1e8290875635305abf12a7
tree109ba3d9a882b9b6a5b54304b697b434aae9275d
parentd83040313390f56c22ff020f0f20da8f05e98e35
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