aboutsummaryrefslogtreecommitdiff
path: root/newlib/Makefile.am
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.am
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.am')
-rw-r--r--newlib/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/newlib/Makefile.am b/newlib/Makefile.am
index 67fb1e8..6d3b60b 100644
--- a/newlib/Makefile.am
+++ b/newlib/Makefile.am
@@ -335,6 +335,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 ; \