X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Makefile.cfg;h=7e3544530c5d28ef380f1a976d6cc5d2807a9dde;hb=311b8047c85b22302153740947694df50d2ce356;hp=830882957518f7a08deeb76e862b944373b891f5;hpb=fc58eaba53ea07f7ab396dd82371ee982bfa30ec;p=tpg%2Facess2.git diff --git a/Makefile.cfg b/Makefile.cfg index 83088295..7e354453 100644 --- a/Makefile.cfg +++ b/Makefile.cfg @@ -2,15 +2,17 @@ # Acess2 Build Configuration # -# Source and destination configuration +# Install destination configuration DISTROOT := a:/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 -S RM := @rm -f @@ -18,8 +20,6 @@ STRIP := strip MKDIR := mkdir -p RMDIR := rm -rf lCP := cp -xCP := mcopy -D o -xMKDIR := mmd # Load Architecture settings ifeq ($(ARCH),) @@ -29,14 +29,20 @@ 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 := MODULES := Storage/ATA Storage/FDD MODULES += Network/NE2000 MODULES += Display/VESA -#MODULES += Display/BochsGA +MODULES += Display/BochsGA MODULES += Filesystems/Ext2 MODULES += Filesystems/FAT MODULES += Filesystems/NTFS