SubDir OBOS_TOP src kernel core addons bus_managers ;

KernelObjects config_manager.c : -fno-pic -D_KERNEL_MODE ;

KernelLd
	config_manager
	:
	<$(SOURCE_GRIST)>config_manager.o
	kernel.so
	:
	$(OBOS_TOP)/src/kernel/core/addons/ldscripts/$(OBOS_ARCH)/addon.ld
	:
	-Bdynamic -shared
	:
	:
	addons/kernel/config_manager
	;

KernelStaticLibrary libbus : 
	<$(SOURCE_GRIST)>bus_init.c 
	<$(SOURCE_GRIST)>bus_man.c 
	:
	-fno-pic -D_KERNEL_MODE
	;

SubInclude OBOS_TOP src kernel core addons bus_managers isa ;
SubInclude OBOS_TOP src kernel core addons bus_managers pci ;
