aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAndre Heider <a.heider@gmail.com>2020-08-20 08:06:37 +0200
committerPetr Štetiar <ynezz@true.cz>2020-12-06 08:31:03 +0100
commit5090152ae3a37482dc1e8290875635305abf12a7 (patch)
tree109ba3d9a882b9b6a5b54304b697b434aae9275d /tools
parentd83040313390f56c22ff020f0f20da8f05e98e35 (diff)
downloadupstream-5090152ae3a37482dc1e8290875635305abf12a7.tar.gz
upstream-5090152ae3a37482dc1e8290875635305abf12a7.tar.bz2
upstream-5090152ae3a37482dc1e8290875635305abf12a7.zip
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)
Diffstat (limited to 'tools')
-rw-r--r--tools/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile
index d7207ba89d..b8d986b80c 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -123,7 +123,7 @@ define PrepareStaging
$(if $(QUIET),,set -x;) \
mkdir -p "$$dir"; \
cd "$$dir"; \
- mkdir -p bin lib include stamp; \
+ mkdir -p bin lib include stamp usr/include usr/lib; \
); done
endef