Added RPI targetdir/objdir.

This commit is contained in:
Branimir Karadžić
2014-08-24 18:37:59 -07:00
parent 15b7e51606
commit 141feba443

View File

@@ -701,6 +701,12 @@ function toolchain(_buildDir, _libDir)
}
configuration { "rpi" }
targetdir (_buildDir .. "rpi" .. "/bin")
objdir (_buildDir .. "rpi" .. "/obj")
libdirs {
_libDir .. "lib/rpi",
"/opt/vc/lib",
}
defines {
"BCM2708", -- There is no special prefedined compiler symbol to detect RaspberryPi, faking it.
}
@@ -715,9 +721,6 @@ function toolchain(_buildDir, _libDir)
"/opt/vc/include/interface/vcos/pthreads",
"/opt/vc/include/interface/vmcs_host/linux",
}
libdirs {
"/opt/vc/lib",
}
links {
"rt",
}