diff options
author | 2013-01-12 10:19:19 -0500 | |
---|---|---|
committer | 2013-02-22 10:57:32 +0100 | |
commit | e0367a61567de103b1946bf87115e15253194195 (patch) | |
tree | 26a1130241248c28dfc5b41369b3adc9baba5d97 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | scripts/coccinelle/misc/semicolon.cocci: Add unneeded semicolon test (diff) | |
download | linux-dev-e0367a61567de103b1946bf87115e15253194195.tar.xz linux-dev-e0367a61567de103b1946bf87115e15253194195.zip |
kbuild: clear KBUILD_SRC when calling 'make' in RPM spec
'make rpm-pkg' and 'make binrpm-pkg' fail when the kernel source is
read-only. Specifically, when the RPM spec generated by
scripts/package/mkspec is run, KBUILD_SRC happens to be set to the
source location and thus the invocation of 'make headers_install'
fails when an internal call to 'filechk' tries to write a file into
the source tree.
The fix is to clear KBUILD_SRC for the 'make headers_install'
invocation in the spec file, as is already done for the 'make
modules_install' invocation.
Signed-off-by: David R. Bild <drbild@umich.edu>
Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions