fix some flag usage in mmakefiles. provide suitable names for amiga hardware devices...
[AROS.git] / rom / devs / ahci / mmakefile.src
blob129b3cddea3d4c8f9655041d82595439c61fdb62
1 # $Id$
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
13 AHCIDEVICEFILES :=  \
14         ahci_init \
15         ahci_io \
16         ahci_scsi \
17         ahci_cam_aros \
18         ahci_aros \
19         ahci_aros_bus \
20         ahci \
21         ahci_attach \
22         ahci_pm \
23         bus_pci \
24         timer \
25         subr_prf
27 AHCICLASSFILES :=  \
28         ahci_controllerclass \
29         ahci_busclass \
30         ahci_unitclass
32 USER_CPPFLAGS := -D__OOP_NOMETHODBASES__ -D__OOP_NOATTRBASES__
34 # Contains code from openbsd.org
35 USER_CPPFLAGS += -D__BSD_VISIBLE
36 # Enable coalescing
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)" \
48   uselibs="hiddstubs"
50 %common