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>
Fri, 27 Nov 2020 13:46:13 +0000 (14:46 +0100)
commitb0cb305236524095bfd899449b0ad8eb821cb3bb
tree99ae72f380b86d1a156b626c75a8fa2b8497dab3
parente52d0487e88c3c8c57e1310d1a02b18eae0d142e
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>
tools/Makefile