<html><head></head><body>I don't see how this is "required". More directories are not a problem. Only less (meaning zero) directories are a problem.<br><br>-1.<br><br><div class="gmail_quote">Le 7 juillet 2020 08:29:31 GMT+02:00, Steve Lhomme <robux4@ycbcr.xyz> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">This is necessary for some targets that use more directory levels than usual.<hr> contrib/src/main.mak | 4 ++++<br> 1 file changed, 4 insertions(+)<br><br>diff --git a/contrib/src/main.mak b/contrib/src/main.mak<br>index 6cf9037c92d..d5ddd3aad78 100644<br>--- a/contrib/src/main.mak<br>+++ b/contrib/src/main.mak<br>@@ -377,6 +377,10 @@ UNPACK = $(RM) -R $@ \<br> $(foreach f,$(filter %.tar.bz2,$^), && tar xvjfo $(f)) \<br> $(foreach f,$(filter %.tar.xz,$^), && tar xvJfo $(f)) \<br> $(foreach f,$(filter %.zip,$^), && unzip $(f))<br>+UNPACK1 = $(RM) -Rf $@ $(UNPACK_DIR) && mkdir -p $(UNPACK_DIR) \<br>+ $(foreach f,$(filter %.tar.gz %.tgz,$^), && tar xvzf $(f) --strip-components=1 -C $(UNPACK_DIR)) \<br>+ $(foreach f,$(filter %.tar.bz2,$^), && tar xvjf $(f) --strip-components=1 -C $(UNPACK_DIR)) \<br>+ $(foreach f,$(filter %.tar.xz,$^), && tar xvJf $(f) --strip-components=1 -C $(UNPACK_DIR))<br> UNPACK_DIR = $(patsubst %.tar,%,$(basename $(notdir $<)))<br> APPLY = (cd $(UNPACK_DIR) && patch -fp1) <<br> pkg_static = (cd $(UNPACK_DIR) && $(SRC_BUILT)/pkg-static.sh $(1))</pre></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>