2003/10/16 05:24:23
[org.ibex.core.git] / Makefile.upstream
index 5667725..ca7edf6 100644 (file)
@@ -119,7 +119,7 @@ endif
        mkdir -p upstream/$*
        curl $(url_$*) | tar xzf - -C upstream/$*
        mv upstream/$*/$* upstream/$*/src; true
-       (test -e upstream/$*/patches && cd upstream/$*/src && for A in ../patches/*.patch; do patch -p0 < $$A; done); true
+       (test -e upstream/$*/patches && cd upstream/$*/src && for A in ../patches/*.patch; do patch -p0 -l < $$A; done); true
        touch $@
 
 .configure_%_$(target): .download_%