aboutsummaryrefslogtreecommitdiffstats
path: root/boards
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@embedded.pro>2016-08-15 15:02:17 +0200
committerJoel Bodenmann <joel@embedded.pro>2016-08-15 15:02:17 +0200
commit230c06a1263f7477d28d58ffa73a2e9e6cd4904d (patch)
tree0cf9b0f80a47b89d39689a32496ee28c3e133def /boards
parent8dd5cc93d5e0c82f141a9e46e69645f8477b986e (diff)
downloaduGFX-230c06a1263f7477d28d58ffa73a2e9e6cd4904d.tar.gz
uGFX-230c06a1263f7477d28d58ffa73a2e9e6cd4904d.tar.bz2
uGFX-230c06a1263f7477d28d58ffa73a2e9e6cd4904d.zip
Updating Mac OS X board files
Diffstat (limited to 'boards')
-rw-r--r--boards/base/OSX/example/Makefile6
-rw-r--r--boards/base/OSX/example/readme.txt2
-rw-r--r--boards/base/OSX/readme.txt17
3 files changed, 17 insertions, 8 deletions
diff --git a/boards/base/OSX/example/Makefile b/boards/base/OSX/example/Makefile
index d4ea932e..cce88c13 100644
--- a/boards/base/OSX/example/Makefile
+++ b/boards/base/OSX/example/Makefile
@@ -26,7 +26,7 @@
ARCH =
SRCFLAGS = -ggdb -O0
-CFLAGS =
+CFLAGS = `sdl2-config --libs --cflags`
CXXFLAGS =
ASFLAGS =
LDFLAGS =
@@ -35,8 +35,8 @@ SRC =
OBJS =
DEFS =
LIBS =
-INCPATH = /opt/X11/include
-LIBPATH = /opt/X11/lib
+INCPATH =
+LIBPATH =
##############################################################################################
# These should be at the end
diff --git a/boards/base/OSX/example/readme.txt b/boards/base/OSX/example/readme.txt
deleted file mode 100644
index 66491238..00000000
--- a/boards/base/OSX/example/readme.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-Copy these files into your own project directory and alter them to suite.
-
diff --git a/boards/base/OSX/readme.txt b/boards/base/OSX/readme.txt
index df033cbe..403f8bb9 100644
--- a/boards/base/OSX/readme.txt
+++ b/boards/base/OSX/readme.txt
@@ -1,7 +1,18 @@
-This directory contains the interface for OSX using X.
+This directory contains the interface for Mac OS X using SDL.
On this board uGFX currently supports:
- - GDISP via the X driver
- - GINPUT-touch via the X driver
+ - GDISP via the SDL driver
+ - GINPUT-touch via the SDL driver
+ - GINPUT-keyboard via the SDL driver
+
+
+The folowing packages are required to run uGFX using this driver on
+a 64-bit Mac OS X machine using SDL:
+ + sdl2
+
+
+The following should be added to the CFLAGS of the target makefile:
+ CFLAGS = `sdl2-config --libs --cflags`
+
There is an example Makefile and project in the examples directory.