the following patch was just integrated into master: commit 4b48ed8f387e846e647250b93e3915b06b123d45 Author: Nico Huber nico.h@gmx.de Date: Wed Jul 27 00:28:03 2016 +0200
buildgcc: Apply patches with -p1
Turned out that there are versions of the patch command that use the left hand side path for new files created by a patch. This behavior is incompatible with some of our patches. Stripping the topmost dir from the path with -p1 helps.
While touching that line, I couldn't resist to drop a command substituion (the `echo $patch`). It really shouldn't be necessary as the path to the patch file is already expanded in the head of the for loop.
Change-Id: I95398605db6dd54a8b08d8bc84c6602edbea6e10 Signed-off-by: Nico Huber nico.h@gmx.de Reviewed-on: https://review.coreboot.org/15908 Reviewed-by: Idwer Vollering vidwer@gmail.com Tested-by: build bot (Jenkins)
See https://review.coreboot.org/15908 for details.
-gerrit