X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Makefile.cfg;h=a2e7ccb0687644155f979832619cf86d3d802b9e;hb=2d83a99f3202f0e4688b58405f67604a24420861;hp=ad972f703ff93b7d8af7e93b9f3c0fc1a008aff9;hpb=3234a52a913609230ffc140c27542d421bb1b7d3;p=tpg%2Facess2.git diff --git a/Makefile.cfg b/Makefile.cfg index ad972f70..a2e7ccb0 100644 --- a/Makefile.cfg +++ b/Makefile.cfg @@ -2,40 +2,42 @@ # Acess2 Build Configuration # -CC = i586-elf-gcc -LD = i586-elf-ld -AS = nasm -OBJDUMP = i586-elf-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 = -DRIVERS = -MODULES = Storage/ATA Storage/FDD +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 - -#DISTROOT = /mnt/AcessHDD/Acess2 -#DISTROOT = ~/Projects/Acess2/Filesystem -DISTROOT = a:/Acess2 -ACESSDIR = /home/tpg/Projects/Acess2 +DYNMODS := USB/Core +MODULES += Interfaces/UDI