3 # Generate expansion.library
5 include $(TOP)/config/make.cfg
7 #MM- core-linklibs : linklibs-expansion
9 FUNCS := addbootnode addconfigdev adddosnode allocboardmem \
10 allocconfigdev allocexpansionmem configboard configchain \
11 findconfigdev freeboardmem freeconfigdev freeexpansionmem \
12 getcurrentbinding makedosnode obtainconfigbinding \
13 readexpansionbyte readexpansionrom releaseconfigbinding \
14 remconfigdev setcurrentbinding writeexpansionbyte \
17 #MM- kernel-expansion : linklibs
19 #MM- kernel-expansion-includes : \
20 #MM kernel-exec-includes \
21 #MM kernel-dos-includes
24 # Non-Amiga expansion.library is actually a half-functional stub. Since the primary purpose
25 # of this library is to handle Zorro bus, we tag only Amiga version of this library as architecture-specific
26 VERSION := $(ARCH)-$(CPU)
29 USER_LDFLAGS := -static
31 %build_module mmake=kernel-expansion \
32 modname=expansion modtype=library version=$(VERSION) \
33 files="expansion_init $(FUNCS)" archspecific=yes