Forum Discussion
evilmax17
15 years agoVisitor
"manoflinux" wrote:"kbenson" wrote:"RokuChris" wrote:
The Makefiles in the SDK are also great tools for automating the build process, IMO. They make zipping, sideloading, and packaging tasks much more efficient.
Indeed. The makefile setup included in the examples makes uploading as simple as:
ROKU_DEV_TARGET=10.11.12.13 make install
from the target channel's source dir. All it takes is a change of the ROKU_DEV_TARGET address supplied to target a different system. Additionally, special directives can be put in each individual apps' Makefile, such as to pre-process files in some manner. We've seriously considered writing our own macro pre-processor to get around some limitations (such as inlining some common functions to ease programming and reduce function call overhead). This becomes much more important in 3.0...
can I have multiple dev targets?
I just alias my different Rokus.
alias rokuA='export ROKU_DEV_TARGET="1.2.3.4"'
alias rokuB='export ROKU_DEV_TARGET="4.3.2.1"'
Then I can either do a "make install", or telnet into the Roku for debugging.