X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Makefile.cfg;h=8c5b59b9f1ff17a35e8da7759f6c73eac4f0700a;hb=48de21e1b27fcb2595aabe2669bdec80567961df;hp=cb134bedb6059d0f4692c0faa482c5fd4bd27a2a;hpb=a79ebcb3a2e206251f44e99376ec2ed6c2bacc63;p=tpg%2Facess2.git diff --git a/Makefile.cfg b/Makefile.cfg index cb134bed..8c5b59b9 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 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),) @@ -31,13 +31,19 @@ ifeq ($(ARCHDIR),) endif -include $(ACESSDIR)/Makefile.$(ARCHDIR).cfg +# 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 MODULES += IPStack -DYNMODS := USB/Core Interfaces/UDI +DYNMODS := USB/Core +MODULES += Interfaces/UDI