aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2015-07-08 09:51:17 +1000
committerinmarket <andrewh@inmarket.com.au>2015-07-08 09:51:17 +1000
commit2f6aaa9586297d287c5c721660795db1191f47f3 (patch)
tree6ee23b1b2d72a7f3eaf99bde2dfc3fbe6fcaef30
parent96bed0cd751eaea27fb3a49a963b95b1e8219cc8 (diff)
downloaduGFX-2f6aaa9586297d287c5c721660795db1191f47f3.tar.gz
uGFX-2f6aaa9586297d287c5c721660795db1191f47f3.tar.bz2
uGFX-2f6aaa9586297d287c5c721660795db1191f47f3.zip
Add win32.chibios and win32.raw32 OPT_OS options to the make system.
-rw-r--r--gfx.mk6
-rw-r--r--tools/gmake_scripts/os_win32.raw32.mk15
2 files changed, 21 insertions, 0 deletions
diff --git a/gfx.mk b/gfx.mk
index 777934b9..1644176d 100644
--- a/gfx.mk
+++ b/gfx.mk
@@ -41,6 +41,12 @@ endif
ifeq ($(OPT_OS),win32)
GFXDEFS += GFX_USE_OS_WIN32=TRUE
endif
+ifeq ($(OPT_OS),win32.chibios)
+ GFXDEFS += GFX_USE_OS_CHIBIOS=TRUE
+endif
+ifeq ($(OPT_OS),win32.raw32)
+ GFXDEFS += GFX_USE_OS_RAW32=TRUE
+endif
ifeq ($(OPT_OS),linux)
GFXDEFS += GFX_USE_OS_LINUX=TRUE
endif
diff --git a/tools/gmake_scripts/os_win32.raw32.mk b/tools/gmake_scripts/os_win32.raw32.mk
new file mode 100644
index 00000000..8a9cf78b
--- /dev/null
+++ b/tools/gmake_scripts/os_win32.raw32.mk
@@ -0,0 +1,15 @@
+#
+# 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
+#
+
+# See readme.txt for the make API
+
+# Requirements:
+#
+# NONE
+#
+
+include $(GFXLIB)/tools/gmake_scripts/os_win32.mk