3 include $(SRCDIR)/config/aros.cfg
5 #MM kernel-ahci : kernel-timer-includes
7 INCLUDE_FILES := $(call WILDCARD, include/devices/*.h)
8 %copy_includes path=devices dir=include/devices
10 INCLUDE_FILES := $(call WILDCARD, include/hidd/*.h)
11 %copy_includes path=hidd dir=include/hidd
28 ahci_controllerclass \
32 USER_CPPFLAGS := -D__OOP_NOMETHODBASES__ -D__OOP_NOATTRBASES__
34 # Contains code from openbsd.org
35 USER_CPPFLAGS += -D__BSD_VISIBLE
37 #USER_CPPFLAGS += -DAHCI_COALESCE
38 # Enable ACHI debugging
39 #USER_CPPFLAGS += -DAHCI_DEBUG
40 # Enable AROS debugging
41 #USER_CPPFLAGS += -DDEBUG=1
43 USER_LDFLAGS := -static
45 %build_module mmake=kernel-ahci \
46 modname=ahci modtype=device \
47 files="$(AHCIDEVICEFILES) $(AHCICLASSFILES)" \