[GSoC] [ARM] Patch by Johannes Wischert.

- empty u-boot specific platform code for the kernel,
- add various objects needed by the kernel from libroot or the generic C implementation.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32328 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol
2009-08-13 18:48:21 +00:00
parent 23eafdaf31
commit c2662f0d22
3 changed files with 51 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
SubDir HAIKU_TOP src system kernel lib arch arm ;
SEARCH_SOURCE += [ FDirName $(SUBDIR) $(DOTDOT) generic ] ;
local librootSources = [ FDirName $(HAIKU_TOP) src system libroot ] ;
local posixSources = [ FDirName $(librootSources) posix ] ;
SEARCH_SOURCE += [ FDirName $(librootSources) os arch $(TARGET_ARCH) ] ;
KernelMergeObject kernel_os_arch_$(TARGET_ARCH).o :
atomic.S
byteorder.S
# system_time_asm.S
system_time.c
: $(TARGET_KERNEL_PIC_CCFLAGS)
;
SEARCH_SOURCE += [ FDirName $(posixSources) arch $(TARGET_ARCH) ] ;
SEARCH_SOURCE += [ FDirName $(posixSources) string arch generic ] ;
SEARCH_SOURCE += [ FDirName $(posixSources) string arch $(TARGET_ARCH) ] ;
KernelMergeObject kernel_lib_posix_arch_$(TARGET_ARCH).o :
siglongjmp.S
sigsetjmp.S
kernel_longjmp_return.c
kernel_setjmp_save_sigs.c
arch_string.S
memset.c
: $(TARGET_KERNEL_PIC_CCFLAGS)
;
@@ -0,0 +1,8 @@
SubDir HAIKU_TOP src system kernel platform u-boot ;
SubDirCcFlags $(TARGET_KERNEL_PIC_CCFLAGS) ;
SubDirC++Flags $(TARGET_KERNEL_PIC_CCFLAGS) ;
KernelMergeObject kernel_platform_u-boot.o :
platform.cpp
;
@@ -0,0 +1,10 @@
/*
Atari kernel platform code.
*/
//#include <arch_platform.h>
//#define in8(a) (*(volatile uint8 *)(a))
//#define out8(v, a) (*(volatile uint8 *)(a) = v)