rockbox/utils/hwstub/tools/lua/load.lua
Amaury Pouly fb8faa16ea hwstub: only load stmp files on stmp targets
Change-Id: I9266ec6db457b1d649cbdcb6c9bd1d0f3223b867
2013-11-20 16:39:20 +00:00

6 lines
No EOL
205 B
Lua

package.path = string.sub(string.gsub(debug.getinfo(1).source, "load.lua", "?.lua"),2) .. ";" .. package.path
if hwstub.dev.target.id == hwstub.dev.target.STMP then
require "stmp"
end
require "dumper"