summaryrefslogtreecommitdiffstatshomepage
path: root/makefile
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-01-25 20:01:40 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-01-25 20:01:40 +0100
commite691634439cc2dbd0fa992098e02b3b81d40b49f (patch)
treec6b004b6bdd7d01561828a67e2295c645c15ce0d /makefile
parent15cf85a9c454253790c124b40c7e12f5c15f5759 (diff)
Added SteamLink initial support [Sam Lantiga, Miodrag Milanovic]
Diffstat (limited to 'makefile')
-rw-r--r--makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/makefile b/makefile
index 620fff50399..7818353125d 100644
--- a/makefile
+++ b/makefile
@@ -1179,6 +1179,32 @@ os2_x86: generate $(PROJECTDIR)/gmake-os2/Makefile
#-------------------------------------------------
+# gmake-steamlink
+#-------------------------------------------------
+
+$(PROJECTDIR)/gmake-steamlink/Makefile: makefile $(SCRIPTS) $(GENIE)
+ifndef MARVELL_SDK_PATH
+ $(error MARVELL_SDK_PATH is not set)
+endif
+ifndef MARVELL_ROOTFS
+ $(error MARVELL_ROOTFS is not set)
+endif
+ $(SILENT) $(GENIE) $(PARAMS) --gcc=steamlink --gcc_version=$(GCC_VERSION) --USE_BGFX=0 --NO_OPENGL=1 --NO_USE_MIDI=1 --NO_X11=1 --NOASM=1 --SDL_INSTALL_ROOT=$(MARVELL_ROOTFS)/usr gmake
+
+.PHONY: steamlink
+ifndef MARVELL_SDK_PATH
+ $(error MARVELL_SDK_PATH is not set)
+endif
+ifndef MARVELL_ROOTFS
+ $(error MARVELL_ROOTFS is not set)
+endif
+steamlink: generate $(PROJECTDIR)/gmake-steamlink/Makefile
+ $(SILENT) $(MAKE) $(MAKEPARAMS) -C $(PROJECTDIR)/gmake-steamlink config=$(CONFIG) precompile
+ $(SILENT) $(MAKE) $(MAKEPARAMS) -C $(PROJECTDIR)/gmake-steamlink config=$(CONFIG)
+
+
+
+#-------------------------------------------------
# cmake
#-------------------------------------------------
cmake: generate