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:
parent
5ca8da7a4b
commit
8a1faae799
@ -1,10 +1,9 @@
|
|||||||
SubDir OBOS_TOP src add-ons kernel file_systems bfs ;
|
SubDir OBOS_TOP src add-ons kernel file_systems bfs ;
|
||||||
|
|
||||||
{
|
if $(DEBUG) {
|
||||||
local debug = -g ;
|
|
||||||
local defines = [ FDefines DEBUG ] ;
|
local defines = [ FDefines DEBUG ] ;
|
||||||
SubDirCcFlags $(defines) $(debug) ;
|
SubDirCcFlags $(defines) ;
|
||||||
SubDirC++Flags $(defines) $(debug) ;
|
SubDirC++Flags $(defines) ;
|
||||||
}
|
}
|
||||||
|
|
||||||
R5KernelAddon obfs : [ FDirName kernel file_systems bfs ] :
|
R5KernelAddon obfs : [ FDirName kernel file_systems bfs ] :
|
||||||
@ -22,3 +21,14 @@ R5KernelAddon obfs : [ FDirName kernel file_systems bfs ] :
|
|||||||
BufferPool.cpp
|
BufferPool.cpp
|
||||||
;
|
;
|
||||||
|
|
||||||
|
rule InstallBFS
|
||||||
|
{
|
||||||
|
Depends install : $(1) ;
|
||||||
|
}
|
||||||
|
|
||||||
|
actions ignore InstallBFS
|
||||||
|
{
|
||||||
|
cp $(1) /boot/home/config/add-ons/kernel/file_systems/
|
||||||
|
}
|
||||||
|
|
||||||
|
InstallBFS obfs ;
|
||||||
|
Loading…
Reference in New Issue
Block a user