X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Makefile.cfg;h=4155f5e8b5cc414a7466e90fc86c07ef16804213;hb=df1d534cfe822903fc38e1cc13c4b18941c91908;hp=9c08aeade13079603b64945dba70ff41dd90717a;hpb=331dc848912bb4c55d267b770503228f1c048a30;p=tpg%2Facess2.git diff --git a/Makefile.cfg b/Makefile.cfg index 9c08aead..4155f5e8 100644 --- a/Makefile.cfg +++ b/Makefile.cfg @@ -2,22 +2,24 @@ # Acess2 Build Configuration # -# Source and destination configuration +# Install destination configuration DISTROOT := a:/Acess2 -ACESSDIR := /home/tpg/Projects/Acess2 +xCP := mcopy -D o +xMKDIR := mmd -D s + +ACESSDIR := $(dir $(lastword $(MAKEFILE_LIST))) +ACESSDIR := $(shell cd $(ACESSDIR) && pwd) # Default build programs -CC := gcc -LD := ld +#CC := gcc +#LD := ld AS := nasm -DISASM := objdump -d +DISASM := objdump -d -S RM := @rm -f STRIP := strip -MKDIR := mkdir +MKDIR := mkdir -p RMDIR := rm -rf lCP := cp -xCP := mcopy -D o -xMKDIR := mmd # Load Architecture settings ifeq ($(ARCH),) @@ -27,7 +29,13 @@ endif ifeq ($(ARCHDIR),) ARCHDIR := x86 endif +ifneq ($(ARCH),host) -include $(ACESSDIR)/Makefile.$(ARCHDIR).cfg +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 := @@ -37,6 +45,9 @@ MODULES += Display/VESA MODULES += Display/BochsGA MODULES += Filesystems/Ext2 MODULES += Filesystems/FAT +MODULES += Filesystems/NTFS MODULES += IPStack DYNMODS := USB/Core MODULES += Interfaces/UDI +MODULES += Input/PS2KbMouse +MODULES += x86/ISADMA