git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added if() statement (and internal support for for,while and do{}while())
[tpg/acess2.git]
/
Makefile.cfg
diff --git
a/Makefile.cfg
b/Makefile.cfg
index
ad972f7
..
834f970
100644
(file)
--- a/
Makefile.cfg
+++ b/
Makefile.cfg
@@
-2,40
+2,42
@@
# Acess2 Build Configuration
#
# 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 -S
+RM := @rm -f
+STRIP := strip
+MKDIR := mkdir
+RMDIR := rm -rf
+lCP := cp
+xCP := mcopy -D o
+xMKDIR := mmd
+
+# Load Architecture settings
ifeq ($(ARCH),)
ifeq ($(ARCH),)
- ARCH = i386
+ ARCH
:
= i386
endif
endif
--include Makefile.$(ARCH).cfg
+-include
$(ACESSDIR)/
Makefile.$(ARCH).cfg
ifeq ($(ARCHDIR),)
ifeq ($(ARCHDIR),)
- ARCHDIR = x86
+ ARCHDIR
:
= x86
endif
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 += Network/NE2000
MODULES += Display/VESA
-MODULES += Display/BochsGA
+
#
MODULES += Display/BochsGA
MODULES += Filesystems/Ext2
MODULES += Filesystems/FAT
MODULES += Filesystems/Ext2
MODULES += Filesystems/FAT
+MODULES += Filesystems/NTFS
MODULES += IPStack
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
UCC
git Repository :: git.ucc.asn.au