Fixed the build process of bfs; -g and -O2 don't mix well together...

To enable debug output, type:
$ DEBUG=1 jam
Also, it's now automatically installed in /boot/home/config/add-ons/kernel/file_systems


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@751 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2002-08-13 22:10:06 +00:00
parent 5ca8da7a4b
commit 8a1faae799

View File

@ -1,10 +1,9 @@
SubDir OBOS_TOP src add-ons kernel file_systems bfs ;
{
local debug = -g ;
if $(DEBUG) {
local defines = [ FDefines DEBUG ] ;
SubDirCcFlags $(defines) $(debug) ;
SubDirC++Flags $(defines) $(debug) ;
SubDirCcFlags $(defines) ;
SubDirC++Flags $(defines) ;
}
R5KernelAddon obfs : [ FDirName kernel file_systems bfs ] :
@ -22,3 +21,14 @@ R5KernelAddon obfs : [ FDirName kernel file_systems bfs ] :
BufferPool.cpp
;
rule InstallBFS
{
Depends install : $(1) ;
}
actions ignore InstallBFS
{
cp $(1) /boot/home/config/add-ons/kernel/file_systems/
}
InstallBFS obfs ;