aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Heider <a.heider@gmail.com>2020-08-20 08:06:37 +0200
committerPetr Štetiar <ynezz@true.cz>2020-11-27 14:46:13 +0100
commitb0cb305236524095bfd899449b0ad8eb821cb3bb (patch)
tree99ae72f380b86d1a156b626c75a8fa2b8497dab3
parente52d0487e88c3c8c57e1310d1a02b18eae0d142e (diff)
downloadupstream-b0cb305236524095bfd899449b0ad8eb821cb3bb.tar.gz
upstream-b0cb305236524095bfd899449b0ad8eb821cb3bb.tar.bz2
upstream-b0cb305236524095bfd899449b0ad8eb821cb3bb.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>
-rw-r--r--tools/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/Makefile b/tools/Makefile
index 4aa268de8f..c66d4fb991 100644
--- a/tools/Makefile
+++ b/tools/Makefile
@@ -118,7 +118,7 @@ define PrepareStaging
$(if $(QUIET),,set -x;) \
mkdir -p "$$dir"; \
cd "$$dir"; \
- mkdir -p bin lib stamp; \
+ mkdir -p bin lib stamp usr/include usr/lib; \
); done
endef