targetmap={}
try:
- module_dir = __selfpath__ + "/modules/"
+ module_dir = __selfpath__ + "/targets/"
for x in required_build_targets:
try:
fh = open(module_dir + x + ".py")
- module = imp.load_module(x, fh, "modules/" + x + ".py",
+ module = imp.load_module(x, fh, "targets/" + x + ".py",
(".py", "r", imp.PY_SOURCE))
fh.close()
for x in valid_build_targets:
try:
fh = open(module_dir + x + ".py")
- module = imp.load_module(x, fh, "modules/" + x + ".py",
+ module = imp.load_module(x, fh, "targets/" + x + ".py",
(".py", "r", imp.PY_SOURCE))
module.register(targetmap)
fh.close()