2014-10-04 07:12:33 +00:00
|
|
|
#
|
|
|
|
# This file is subject to the terms of the GFX License. If a copy of
|
|
|
|
# the license was not distributed with this file, you can obtain one at:
|
|
|
|
#
|
|
|
|
# http://ugfx.org/license.html
|
|
|
|
#
|
|
|
|
|
2014-09-30 14:44:40 +00:00
|
|
|
# See readme.txt for the make API
|
|
|
|
|
|
|
|
# Requirements:
|
|
|
|
#
|
2017-04-29 07:42:14 +00:00
|
|
|
# CHIBIOS_VERSION Which version of ChibiOS is this (2, 3, 16, git) - default is 16
|
|
|
|
# Note the 'git' option is one we try to keep up to date with the ChibiOS master
|
|
|
|
# If you find the 'git' option requires update please let us know.
|
2014-09-30 14:44:40 +00:00
|
|
|
#
|
|
|
|
|
2014-10-02 09:52:28 +00:00
|
|
|
|
2015-08-29 14:35:34 +00:00
|
|
|
ifeq ($(CHIBIOS_VERSION),2)
|
|
|
|
include $(GFXLIB)/tools/gmake_scripts/os_chibios_2.mk
|
2017-04-29 07:42:14 +00:00
|
|
|
else ifeq ($(CHIBIOS_VERSION),3)
|
|
|
|
include $(GFXLIB)/tools/gmake_scripts/os_chibios_3.mk
|
|
|
|
else ifeq ($(CHIBIOS_VERSION),16)
|
|
|
|
include $(GFXLIB)/tools/gmake_scripts/os_chibios_3.mk
|
|
|
|
else ifeq ($(CHIBIOS_VERSION),git)
|
|
|
|
include $(GFXLIB)/tools/gmake_scripts/os_chibios_git.mk
|
2014-10-04 07:12:33 +00:00
|
|
|
else
|
2015-08-29 14:35:34 +00:00
|
|
|
include $(GFXLIB)/tools/gmake_scripts/os_chibios_3.mk
|
2014-10-04 07:12:33 +00:00
|
|
|
endif
|