mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Added txt-document with first draft of cross-compile info.
Added cmake temp stuff to ignore.
This commit is contained in:
parent
a695ab91bb
commit
a65305dbdb
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
/*.user
|
3
CrossCompileHowto.txt
Normal file
3
CrossCompileHowto.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
http://airwiki.ws.dei.polimi.it/index.php/Cross-compiling_for_the_RaspberryPi
|
||||||
|
|
||||||
|
cmake -DCMAKE_TOOLCHAIN_FILE=$HOME/raspberrypi/Toolchain-RaspberryPi.cmake
|
@ -58,12 +58,22 @@ add_executable(boblight-dispmanx
|
|||||||
timeutils.h
|
timeutils.h
|
||||||
timeutils.cpp)
|
timeutils.cpp)
|
||||||
|
|
||||||
SET(VC_INCLUDE_DIRS
|
FIND_PATH(VC_INCLUDE_DIR
|
||||||
/opt/vc/include
|
bcm_host.h
|
||||||
/opt/vc/include/interface/vcos/pthreads
|
/usr/include
|
||||||
/opt/vc/include/interface/vmcs_host/linux)
|
/usr/local/include
|
||||||
SET(VC_LIBS
|
/opt/vc/include)
|
||||||
/home/pi/.xbmc-current/xbmc-bin/lib/xbmc/system/libbcm_host.so)
|
SET(VC_INCLUDE_DIRS
|
||||||
|
${VC_INCLUDE_DIR}
|
||||||
|
${VC_INCLUDE_DIR}/interface/vcos/pthreads
|
||||||
|
${VC_INCLUDE_DIR}/interface/vmcs_host/linux)
|
||||||
|
FIND_LIBRARY(VC_LIBS
|
||||||
|
NAMES bcm_host
|
||||||
|
PATHS /usr/lib /usr/local/lib /opt/vc/lib)
|
||||||
|
message("{VC_LIBS} = ${VC_LIBS}")
|
||||||
|
|
||||||
|
#SET(VC_LIBS
|
||||||
|
# /home/pi/.xbmc-current/xbmc-bin/lib/xbmc/system/libbcm_host.so)
|
||||||
# /home/pi/.xbmc-current/xbmc-bin/lib/xbmc/system/libGLESv2.so
|
# /home/pi/.xbmc-current/xbmc-bin/lib/xbmc/system/libGLESv2.so
|
||||||
# /home/pi/.xbmc-current/xbmc-bin/lib/xbmc/system/libEGL.so
|
# /home/pi/.xbmc-current/xbmc-bin/lib/xbmc/system/libEGL.so
|
||||||
# /home/pi/.xbmc-current/xbmc-bin/lib/xbmc/system/libopenmaxil.so
|
# /home/pi/.xbmc-current/xbmc-bin/lib/xbmc/system/libopenmaxil.so
|
||||||
|
Loading…
Reference in New Issue
Block a user