e99c036ed1
Change-Id: Ie09d0db21831b79255da858bada7382a08ff4eef Reviewed-on: http://gerrit.rockbox.org/1052 Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com> Tested: Marcin Bukat <marcin.bukat@gmail.com>
14 lines
453 B
Lua
14 lines
453 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"
|
|
elseif hwstub.dev.target.id == hwstub.dev.target.ATJ then
|
|
require "atj"
|
|
end
|
|
|
|
require "hwlib"
|
|
require "dumper"
|