]> git.baikalelectronics.ru Git - kernel.git/commit
kbuild: properly pass options to hostcc when doing make O=..
authorSam Ravnborg <sam@mars.ravnborg.org>
Fri, 7 Apr 2006 06:36:49 +0000 (08:36 +0200)
committerSam Ravnborg <sam@mars.ravnborg.org>
Fri, 7 Apr 2006 06:36:49 +0000 (08:36 +0200)
commit644361c3d8c705b1a07310c001301517f11b1ced
treede428ec711fe241f3ad7ac1272ba8591d68d9fc2
parent44dc54cfc580a3647305c09a3a0a216413e59d5d
kbuild: properly pass options to hostcc when doing make O=..

This fix a longstanding bug where proper options was not
passed to hostcc in case of a make O=.. build.
This bug showed up in (not yet merged) klibc, and is not known
to have any counterpart in-kernel.
Fixed by moving the flags macro to Kbuild.include so it can be used
by both Makefile.lib and Makefile.host.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/Kbuild.include
scripts/Makefile.lib