Progress toward natvie z80 SDCC build -- still issues

git-svn-id: http://svn.code.sf.net/p/nuttx/code/trunk@5413 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo
2012-12-05 15:01:11 +00:00
parent c0ced89e2d
commit ccae1c4fb2
15 changed files with 616 additions and 103 deletions
+31 -6
View File
@@ -33,18 +33,43 @@
#
############################################################################
############################################################################
# Makefile fragments
-include $(TOPDIR)/Make.defs
-include chip/Make.defs
-include board/Make.defs
############################################################################
# Compiler-Dependent Make
COMPILER = ${shell basename "$(CC)"}
# Compiler-Dependent Make: SDCC or ZiLOG ZDS-II
COMPILER = ${shell basename "$(CC)"}
ifeq ($(COMPILER),sdcc)
include Makefile.sdcc
# Check for SDCC native windows build
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
# SDCC Windows native build
include Makefile.sdccw
else
# SDCC in a POSIX environment (Linux, OSX, or Cygwin/MSYS)
include Makefile.sdccl
endif
else
include Makefile.zdsii
# Check for ZDSII native windows build
ifeq ($(CONFIG_WINDOWS_NATIVE),y)
# ZDSII Windows native build
include Makefile.zdsiiw
else
# ZDSII in a POSIX environment (Cygwin/MSYS)
include Makefile.zdsiil
endif
endif