Added tarfs to the boot loader test application as well.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14346 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2005-10-11 01:20:00 +00:00
parent 83333bf237
commit a88fdc5722
3 changed files with 32 additions and 2 deletions

View File

@ -50,6 +50,7 @@ ObjectsDefines
BOOT_SUPPORT_FILE_SYSTEM_BFS
BOOT_SUPPORT_FILE_SYSTEM_AMIGA_FFS
BOOT_SUPPORT_FILE_SYSTEM_TARFS
;
defines = [ FDefines $(defines) ] ;
@ -96,7 +97,7 @@ SimpleTest BootLoaderTest :
strlcpy.c
driver_settings.c
: boottest_bfs.a boottest_amiga_ffs.a
: boottest_bfs.a boottest_amiga_ffs.a boottest_tarfs.a libz.a
;
# Tell Jam where to find the utility sources

View File

@ -1,4 +1,5 @@
SubDir OBOS_TOP src tests kernel boot loader file_systems ;
SubInclude OBOS_TOP src tests kernel boot loader file_systems bfs ;
SubInclude OBOS_TOP src tests kernel boot loader file_systems amiga_ffs ;
SubInclude OBOS_TOP src tests kernel boot loader file_systems bfs ;
SubInclude OBOS_TOP src tests kernel boot loader file_systems tarfs ;

View File

@ -0,0 +1,28 @@
SubDir OBOS_TOP src tests kernel boot loader file_systems tarfs ;
UsePrivateHeaders [ FDirName kernel disk_device_manager ] ;
UsePrivateHeaders kernel shared storage ;
SubDirHdrs $(OBOS_TOP) src tests kernel boot loader ;
SubDirHdrs $(OBOS_TOP) headers libs zlib ;
ObjectsDefines
tarfs.cpp
:
read_pos=boot_read_pos fstat=boot_fstat open=boot_open close=boot_close _BOOT_MODE
;
#SubDirCcFlags -DGUNZIP=1 ;
SEARCH_SOURCE += [ FDirName $(OBOS_TOP) src libs zlib ] ;
KernelStaticLibrary boottest_tarfs :
tarfs.cpp
inflate.c
: #-fcheck-memory-usage -D_NO_INLINE_ASM
;
# Tell Jam where to find the sources
SEARCH on [ FGristFiles
tarfs.cpp
] = [ FDirName $(OBOS_TOP) src system boot loader file_systems tarfs ] ;