From 141feba44379ec1c6e0ea530918da98a50025240 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sun, 24 Aug 2014 18:37:59 -0700 Subject: [PATCH] Added RPI targetdir/objdir. --- premake/toolchain.lua | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/premake/toolchain.lua b/premake/toolchain.lua index d09ce7a..25213ee 100755 --- a/premake/toolchain.lua +++ b/premake/toolchain.lua @@ -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", }