mirror of
https://github.com/bkaradzic/bx.git
synced 2026-02-21 14:23:03 +01:00
Added RPI targetdir/objdir.
This commit is contained in:
@@ -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",
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user