summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2013-11-11 15:27:43 +0100
committerMichal Marek <mmarek@suse.cz>2013-11-11 17:56:43 +0100
commitab7474ea5361f5fe883feb5ae637a1c948df1507 (patch)
treed1a4cf1c0577374090d6984cdc18aac297be2e46 /scripts
parent6f62259b1a7696a335d5c3f2c89cce1d28912bf2 (diff)
downloadop-kernel-dev-ab7474ea5361f5fe883feb5ae637a1c948df1507.zip
op-kernel-dev-ab7474ea5361f5fe883feb5ae637a1c948df1507.tar.gz
Kbuild: Ignore GREP_OPTIONS env variable
When building the kernel in a shell which defines GREP_OPTIONS so that grep behavior is modified, we can break the generation of the syscalls table like so: __SYSCALL_COMMON(^[[01;31m^[[K0^[[m^[[K, sys_read, sys_read) __SYSCALL_COMMON(^[[01;31m^[[K1^[[m^[[K, sys_write, sys_write) __SYSCALL_COMMON(^[[01;31m^[[K1^[[m^[[K0, sys_mprotect, sys_mprotect) ... This is just the initial breakage, later we barf when generating modules. In this case, GREP_OPTIONS contains "--color=always" which adds the shell colors markup and completely fudges the headers under ...generated/asm/. Fix that by unexporting the GREP_OPTIONS variable for the whole kernel build as we tend to use grep at a bunch of places. Signed-off-by: Borislav Petkov <bp@suse.de> Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud