aboutsummaryrefslogtreecommitdiff
path: root/newlib/Makefile.in
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-02-15 21:07:27 -0500
committerMike Frysinger <vapier@gentoo.org>2022-02-16 20:03:07 -0500
commit01ed65ed09909a278580792653c77e169fb7f561 (patch)
treeaf0c9dd05b298f1984f74d9d522cbcd72c195562 /newlib/Makefile.in
parent40748cd73a0408be4095f03cdf12b9e2ff18c912 (diff)
downloadnewlib-01ed65ed09909a278580792653c77e169fb7f561.zip
newlib-01ed65ed09909a278580792653c77e169fb7f561.tar.gz
newlib-01ed65ed09909a278580792653c77e169fb7f561.tar.bz2
newlib: add missing mkdir to header install
Make sure these subdirs exist before trying to install headers into them.
Diffstat (limited to 'newlib/Makefile.in')
-rw-r--r--newlib/Makefile.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/Makefile.in b/newlib/Makefile.in
index 969027f..5a83f86 100644
--- a/newlib/Makefile.in
+++ b/newlib/Makefile.in
@@ -1624,6 +1624,7 @@ install-data-local: install-toollibLIBRARIES install-multi
done ; \
for i in $(srcdir)/libc/sys/$(sys_dir)/include/*; do \
if [ -d $$i ]; then \
+ $(MKDIR_P) $(DESTDIR)$(tooldir)/include/`basename $$i`; \
for j in $$i/*.h; do \
$(INSTALL_DATA) $$j $(DESTDIR)$(tooldir)/include/`basename $$i`/`basename $$j`; \
done ; \