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.cpp)
|
||||
|
||||
SET(VC_INCLUDE_DIRS
|
||||
/opt/vc/include
|
||||
/opt/vc/include/interface/vcos/pthreads
|
||||
/opt/vc/include/interface/vmcs_host/linux)
|
||||
SET(VC_LIBS
|
||||
/home/pi/.xbmc-current/xbmc-bin/lib/xbmc/system/libbcm_host.so)
|
||||
FIND_PATH(VC_INCLUDE_DIR
|
||||
bcm_host.h
|
||||
/usr/include
|
||||
/usr/local/include
|
||||
/opt/vc/include)
|
||||
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/libEGL.so
|
||||
# /home/pi/.xbmc-current/xbmc-bin/lib/xbmc/system/libopenmaxil.so
|
||||
|
Loading…
Reference in New Issue
Block a user