newlib: add missing mkdir to header install
Make sure these subdirs exist before trying to install headers into them.
This commit is contained in:
parent
40748cd73a
commit
01ed65ed09
|
@ -335,6 +335,7 @@ install-data-local: install-toollibLIBRARIES install-multi
|
||||||
done ; \
|
done ; \
|
||||||
for i in $(srcdir)/libc/sys/$(sys_dir)/include/*; do \
|
for i in $(srcdir)/libc/sys/$(sys_dir)/include/*; do \
|
||||||
if [ -d $$i ]; then \
|
if [ -d $$i ]; then \
|
||||||
|
$(MKDIR_P) $(DESTDIR)$(tooldir)/include/`basename $$i`; \
|
||||||
for j in $$i/*.h; do \
|
for j in $$i/*.h; do \
|
||||||
$(INSTALL_DATA) $$j $(DESTDIR)$(tooldir)/include/`basename $$i`/`basename $$j`; \
|
$(INSTALL_DATA) $$j $(DESTDIR)$(tooldir)/include/`basename $$i`/`basename $$j`; \
|
||||||
done ; \
|
done ; \
|
||||||
|
|
|
@ -1624,6 +1624,7 @@ install-data-local: install-toollibLIBRARIES install-multi
|
||||||
done ; \
|
done ; \
|
||||||
for i in $(srcdir)/libc/sys/$(sys_dir)/include/*; do \
|
for i in $(srcdir)/libc/sys/$(sys_dir)/include/*; do \
|
||||||
if [ -d $$i ]; then \
|
if [ -d $$i ]; then \
|
||||||
|
$(MKDIR_P) $(DESTDIR)$(tooldir)/include/`basename $$i`; \
|
||||||
for j in $$i/*.h; do \
|
for j in $$i/*.h; do \
|
||||||
$(INSTALL_DATA) $$j $(DESTDIR)$(tooldir)/include/`basename $$i`/`basename $$j`; \
|
$(INSTALL_DATA) $$j $(DESTDIR)$(tooldir)/include/`basename $$i`/`basename $$j`; \
|
||||||
done ; \
|
done ; \
|
||||||
|
|
Loading…
Reference in New Issue