revert between 56095 -> 55830 in arch
[AROS.git] / rom / expansion / mmakefile.src
blob20658d18395c6bcccf0e03603ad5ec098bfb36e2
1 #   $Id$
3 #   Generate expansion.library
5 include $(SRCDIR)/config/aros.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 \
15             writeexpansionword
17 #MM- kernel-expansion : linklibs
19 #MM- kernel-expansion-includes : \
20 #MM      kernel-exec-includes \
21 #MM      kernel-dos-includes
23 ifeq ($(ARCH),amiga)
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)
27 endif
29 USER_LDFLAGS := -static
31 %build_module mmake=kernel-expansion \
32   modname=expansion modtype=library version=$(VERSION) \
33   files="expansion_init $(FUNCS)" archspecific=yes