mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-06 14:21:36 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user