From a88fdc5722a1a44b8f6e80e6c1e176d1b74934cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Tue, 11 Oct 2005 01:20:00 +0000 Subject: [PATCH] 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 --- src/tests/kernel/boot/loader/Jamfile | 3 +- .../kernel/boot/loader/file_systems/Jamfile | 3 +- .../boot/loader/file_systems/tarfs/Jamfile | 28 +++++++++++++++++++ 3 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 src/tests/kernel/boot/loader/file_systems/tarfs/Jamfile diff --git a/src/tests/kernel/boot/loader/Jamfile b/src/tests/kernel/boot/loader/Jamfile index c33c9253b8..84996db1f2 100644 --- a/src/tests/kernel/boot/loader/Jamfile +++ b/src/tests/kernel/boot/loader/Jamfile @@ -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 diff --git a/src/tests/kernel/boot/loader/file_systems/Jamfile b/src/tests/kernel/boot/loader/file_systems/Jamfile index d1fa6342c2..f8b34d3981 100644 --- a/src/tests/kernel/boot/loader/file_systems/Jamfile +++ b/src/tests/kernel/boot/loader/file_systems/Jamfile @@ -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 ; diff --git a/src/tests/kernel/boot/loader/file_systems/tarfs/Jamfile b/src/tests/kernel/boot/loader/file_systems/tarfs/Jamfile new file mode 100644 index 0000000000..7596618ca9 --- /dev/null +++ b/src/tests/kernel/boot/loader/file_systems/tarfs/Jamfile @@ -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 ] ;