diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2020-11-29 23:43:18 +0100 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2020-11-30 23:46:11 +0100 |
commit | 27531fffbf99ff423f5bf9236a5d07d1ccdbf3e1 (patch) | |
tree | 9557eed2971b7145cb88cdce965ed0b4fa68e9e8 | |
parent | dc0a1708a708b0dc4d0caa1988b0f8f78f874d02 (diff) | |
download | backports-27531fffbf99ff423f5bf9236a5d07d1ccdbf3e1.tar.gz |
gentree.py: Remoace space between -I and $(src)
When I compile backports on Debian 9 against kernel 4.9 it fails to
compile because the include "-I $(src)" does not work, the "-I" is
somehow lost. When I remove the space between this it is working.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
-rwxr-xr-x | gentree.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1043,7 +1043,7 @@ def process(kerneldir, copy_list_file, git_revision=None, for r in regexes: data = r.sub(r'' + bpid.full_prefix + '\\1', data) # we have an absolue path in $(src) since we compile out of tree - data = re.sub(r'\$\(srctree\)/\$\(src\)', '$(src)', data) + data = re.sub(r'-I ?\$\(srctree\)/\$\(src\)', '-I$(src)', data) data = re.sub(r'\$\(srctree\)', '$(backport_srctree)', data) data = re.sub(r'-Idrivers', '-I$(backport_srctree)/drivers', data) if bpid.integrate: |