2 # Acess2 Build Configuration
5 ACESSDIR := $(dir $(lastword $(MAKEFILE_LIST)))
6 ACESSDIR := $(shell cd $(ACESSDIR) && pwd)
8 # Install destination configuration
9 DISTROOT := -i $(ACESSDIR)/Acess2.img ::/Acess2
14 -include $(ACESSDIR)/Makefile.Version.cfg
16 # Default build programs
20 DISASM := objdump -d -S
29 # Load Architecture settings
33 include $(ACESSDIR)/BuildConf/$(ARCH)/Makefile.cfg
39 ifneq ($(ARCHDIR),$(ARCH))
40 include $(ACESSDIR)/BuildConf/$(ARCHDIR)/Makefile.cfg
48 # Makefile.user.cfg is not part of the Acess git repo,
49 # It is for overriding the options in this file
50 -include $(ACESSDIR)/Makefile.user.cfg
55 MODULES += Filesystems/RAMDisk
56 MODULES += Filesystems/Ext2
57 MODULES += Filesystems/FAT
58 MODULES += Filesystems/NTFS
59 MODULES += Storage/LVM
61 include $(ACESSDIR)/BuildConf/$(ARCH)/$(PLATFORM).mk
63 MODULES += Input/Keyboard Input/Mouse
64 MODULES += IPStack # So the other modules are loaded before it
66 #DYNMODS += Filesystems/InitRD
68 # BUILD_DIST=y - Install to ./Dist
69 ifneq ($(BUILD_DIST),)
70 DISTROOT := $(ACESSDIR)/Dist