X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Makefile.cfg;h=2642f5a55c00bc53fa857529c0ff1e8c992d00f1;hb=cb908a64349e1e4623cbfe2a160788332eb0ce80;hp=b0de66284cc20ddcf234bae4ff2b555f4708371d;hpb=37eb4d555b07704870b7dc87591d72b5b2539dec;p=tpg%2Facess2.git diff --git a/Makefile.cfg b/Makefile.cfg index b0de6628..2642f5a5 100644 --- a/Makefile.cfg +++ b/Makefile.cfg @@ -10,6 +10,8 @@ xMKDIR := mmd -D s ACESSDIR := $(dir $(lastword $(MAKEFILE_LIST))) ACESSDIR := $(shell cd $(ACESSDIR) && pwd) +-include $(ACESSDIR)/Makefile.Version.cfg + # Default build programs #CC := gcc #LD := ld @@ -20,39 +22,42 @@ STRIP := strip MKDIR := mkdir -p RMDIR := rm -rf lCP := cp +ASSUFFIX = asm + # Load Architecture settings ifeq ($(ARCH),) - ARCH := i386 + ARCH := x86 endif --include $(ACESSDIR)/Makefile.$(ARCH).cfg +include $(ACESSDIR)/BuildConf/$(ARCH)/Makefile.cfg ifeq ($(ARCHDIR),) ARCHDIR := x86 endif + ifneq ($(ARCH),host) --include $(ACESSDIR)/Makefile.$(ARCHDIR).cfg + ifneq ($(ARCHDIR),$(ARCH)) + include $(ACESSDIR)/BuildConf/$(ARCHDIR)/Makefile.cfg + endif +endif + +ifeq ($(PLATFORM),) + PLATFORM := default endif # Makefile.user.cfg is not part of the Acess git repo, # It is for overriding the options in this file -include $(ACESSDIR)/Makefile.user.cfg -FILESYSTEMS := DRIVERS := MODULES := + MODULES += Filesystems/Ext2 MODULES += Filesystems/FAT MODULES += Filesystems/NTFS +MODULES += Storage/LVM -ifeq ($(ARCHDIR),x86) -MODULES += Storage/ATA Storage/FDD -MODULES += Network/NE2000 -MODULES += Display/VESA -MODULES += Display/BochsGA -MODULES += Interfaces/UDI -MODULES += Input/PS2KbMouse -MODULES += x86/ISADMA x86/VGAText -endif +include $(ACESSDIR)/BuildConf/$(ARCH)/$(PLATFORM).mk MODULES += IPStack # So the other modules are loaded before it -DYNMODS := USB/Core +#DYNMODS := USB/Core +#DYNMODS += Filesystems/InitRD