mirror of
https://github.com/odriverobotics/ODrive.git
synced 2026-09-22 16:14:37 +08:00
Build objects to /obj folder
This commit is contained in:
+1
-1
@@ -63,7 +63,7 @@ function GCCToolchain(prefix, builddir, compiler_flags, linker_flags)
|
||||
inc_flags += "-I"..inc
|
||||
end
|
||||
-- todo: vary build directory
|
||||
obj_file = builddir.."/"..src:gsub("/","_")..".o"
|
||||
obj_file = builddir.."/obj/"..src:gsub("/","_")..".o"
|
||||
outputs.object_files += obj_file
|
||||
if gen_su_file then
|
||||
su_file = builddir.."/"..src:gsub("/","_")..".su"
|
||||
|
||||
Reference in New Issue
Block a user