X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Makefile.cfg;h=9c08aeade13079603b64945dba70ff41dd90717a;hb=356ff4d71c6f5753e7a13473145c45a54dc5d8cf;hp=5abb96dd2f0aee15fd48bf0f903106cab59dff29;hpb=d0d0e340fba5ec56dfec004be189c8de79dae12f;p=tpg%2Facess2.git diff --git a/Makefile.cfg b/Makefile.cfg index 5abb96dd..9c08aead 100644 --- a/Makefile.cfg +++ b/Makefile.cfg @@ -2,38 +2,41 @@ # Acess2 Build Configuration # -CC = gcc -LD = ld -AS = nasm -OBJDUMP = objdump -RM = @rm -f -STRIP = strip -MKDIR = mkdir -RMDIR = rm -rf -lCP = cp -xCP = mcopy -D o -xMKDIR = mmd -xRMDIR = mdeltree -xRM = mdel +# Source and destination configuration +DISTROOT := a:/Acess2 +ACESSDIR := /home/tpg/Projects/Acess2 +# Default build programs +CC := gcc +LD := ld +AS := nasm +DISASM := objdump -d +RM := @rm -f +STRIP := strip +MKDIR := mkdir +RMDIR := rm -rf +lCP := cp +xCP := mcopy -D o +xMKDIR := mmd + +# Load Architecture settings ifeq ($(ARCH),) - ARCH = i386 + ARCH := i386 endif --include Makefile.$(ARCH).cfg +-include $(ACESSDIR)/Makefile.$(ARCH).cfg ifeq ($(ARCHDIR),) - ARCHDIR = x86 + ARCHDIR := x86 endif +-include $(ACESSDIR)/Makefile.$(ARCHDIR).cfg -FILESYSTEMS = fat -DRIVERS = -MODULES = Storage/ATA Storage/FDD +FILESYSTEMS := +DRIVERS := +MODULES := Storage/ATA Storage/FDD MODULES += Network/NE2000 +MODULES += Display/VESA MODULES += Display/BochsGA -MODULES += Filesystems/FS_Ext2 +MODULES += Filesystems/Ext2 +MODULES += Filesystems/FAT MODULES += IPStack -DYNMODS = USB Interfaces/UDI - -#DISTROOT = /mnt/AcessHDD/Acess2 -#DISTROOT = ~/Projects/Acess2/Filesystem -DISTROOT = a:/Acess2 -ACESSDIR = /home/tpg/Projects/Acess2 +DYNMODS := USB/Core +MODULES += Interfaces/UDI