rockbox/utils/hwstub/tools/lua/load.lua
Marcin Bukat f8785c8f6d hwstub: load rk27xx specific bits
Change-Id: Ie0c68925f933aebeb9b3497800a29de2d69fead2
2014-06-15 12:53:57 +02:00

11 lines
361 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"
elseif hwstub.dev.target.id == hwstub.dev.target.PP then
require "pp"
elseif hwstub.dev.target.id == hwstub.dev.target.RK27 then
require "rk27xx"
end
require "dumper"