X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Makefile.cfg;h=7e3544530c5d28ef380f1a976d6cc5d2807a9dde;hb=b391a1b79e12096b561e68a48eb096dcb77fca47;hp=cb134bedb6059d0f4692c0faa482c5fd4bd27a2a;hpb=a79ebcb3a2e206251f44e99376ec2ed6c2bacc63;p=tpg%2Facess2.git diff --git a/Makefile.cfg b/Makefile.cfg index cb134bed..7e354453 100644 --- a/Makefile.cfg +++ b/Makefile.cfg @@ -2,24 +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 -OBJDUMP := objdump +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 -xRMDIR := mdeltree -xRM := mdel # Load Architecture settings ifeq ($(ARCH),) @@ -29,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 := @@ -39,5 +45,7 @@ MODULES += Display/VESA MODULES += Display/BochsGA MODULES += Filesystems/Ext2 MODULES += Filesystems/FAT +MODULES += Filesystems/NTFS MODULES += IPStack -DYNMODS := USB/Core Interfaces/UDI +DYNMODS := USB/Core +MODULES += Interfaces/UDI