newlib: add missing mkdir to header install

Make sure these subdirs exist before trying to install headers into them.
This commit is contained in:
Mike Frysinger 2022-02-15 21:07:27 -05:00
parent 40748cd73a
commit 01ed65ed09
2 changed files with 2 additions and 0 deletions

View File

@ -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 ; \

View File

@ -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 ; \