summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.lib
diff options
context:
space:
mode:
authorSam Ravnborg2008-12-03 21:22:21 +0100
committerSam Ravnborg2008-12-03 21:22:21 +0100
commit5b91c33cf295d9c235f587f29a8c0a7ae15a5320 (patch)
treebc20ee1e8c338e85aa4212385fd35d220aa3b767 /scripts/Makefile.lib
parentMerge git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog (diff)
downloadkernel-qcow2-linux-5b91c33cf295d9c235f587f29a8c0a7ae15a5320.tar.gz
kernel-qcow2-linux-5b91c33cf295d9c235f587f29a8c0a7ae15a5320.tar.xz
kernel-qcow2-linux-5b91c33cf295d9c235f587f29a8c0a7ae15a5320.zip
kbuild: fix -I option expansion with O=... builds
When adding extra -I options with O=... we could end up in a situation where there were no parameters to -I. So we had a commandline that looked like this: ... -I -Wall ... This had the undesired side effect that gcc assumed "-Wall" was a path to look for include files so this options was effectively ignored. This happens only when we build the generated module.mod.c files as part of the final modules builds and is as such harmless with current kbuild. This bug was exposed when we rearranged the options to gcc. Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts/Makefile.lib')
0 files changed, 0 insertions, 0 deletions