By now all services in core where created, and registered in the generic main routine. Although there exists already a x86-specific service (I/O ports) there was no possibility to announce core-services for certain platforms only. This commit introduces a hook function in the 'Platform' class, that enables registration of platform-specific services. Moreover, the io-port service is offered on x86 platforms only now.
9 lines
190 B
Makefile
9 lines
190 B
Makefile
include $(PRG_DIR)/../target.inc
|
|
|
|
REQUIRES += x86
|
|
SRC_CC += platform_x86.cc
|
|
|
|
vpath io_port_session_component.cc $(GEN_CORE_DIR)/x86
|
|
vpath platform_services.cc $(GEN_CORE_DIR)/x86
|
|
|