diff options
author | Nico Huber <nico.h@gmx.de> | 2016-07-27 00:28:03 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-07-31 17:37:41 +0200 |
commit | 4b48ed8f387e846e647250b93e3915b06b123d45 (patch) | |
tree | 93d0ba9288a129bb9f5430b2962e566feca37e12 /src/mainboard | |
parent | 828e73e0b69896c769e2b9baf6a22c22eafd3734 (diff) | |
download | coreboot-4b48ed8f387e846e647250b93e3915b06b123d45.tar.xz |
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)
Diffstat (limited to 'src/mainboard')
0 files changed, 0 insertions, 0 deletions