mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2023-10-10 13:36:59 +02:00
Typos in Compile Instructions + clone only latest git
Former-commit-id: a259a1ee1de4b535e254a21721bffd582380b6b2
This commit is contained in:
parent
42a6f72f06
commit
25c4322ff8
@ -2,14 +2,15 @@
|
|||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install git cmake build-essential libQt4-dev libusb-1.0-0-dev python-dev
|
sudo apt-get install git cmake build-essential libQt4-dev libusb-1.0-0-dev python-dev
|
||||||
|
|
||||||
# RPI ONLY: when you build on the rapberry pi and inlcude the dispmanx grabber (which is the default)
|
# RPI ONLY: when you build on the rapberry pi and include the dispmanx grabber (which is the default)
|
||||||
# you also need the firmware including headers installed. This downloads the firmware from the raspberrypi github
|
# you also need the firmware including headers installed. This downloads the firmware from the raspberrypi github
|
||||||
# and copies the required files to the correct place. The firmware directory can be deleted afterwards if desired.
|
# and copies the required files to the correct place. The firmware directory can be deleted afterwards if desired.
|
||||||
export FIRMWARE_DIR="raspberrypi-firmware"
|
export FIRMWARE_DIR="raspberrypi-firmware"
|
||||||
git clone https://github.com/raspberrypi/firmware.git "$FIRMWARE_DIR"
|
git clone --depth 1 https://github.com/raspberrypi/firmware.git "$FIRMWARE_DIR"
|
||||||
sudo cp -R "$FIRMWARE_DIR/hardfp/opt/*" /opt
|
sudo cp -R "$FIRMWARE_DIR/hardfp/opt/" /opt
|
||||||
|
|
||||||
# create hyperion directory and checkout the code from github
|
# create hyperion directory and checkout the code from github
|
||||||
|
# You might want to add "--depth 1" if you only want to recompile the current source or dont want to use git any further
|
||||||
export HYPERION_DIR="hyperion"
|
export HYPERION_DIR="hyperion"
|
||||||
git clone --recursive https://github.com/tvdzwan/hyperion.git "$HYPERION_DIR"
|
git clone --recursive https://github.com/tvdzwan/hyperion.git "$HYPERION_DIR"
|
||||||
|
|
||||||
@ -22,7 +23,7 @@ git submodule update
|
|||||||
mkdir "$HYPERION_DIR/build"
|
mkdir "$HYPERION_DIR/build"
|
||||||
cd "$HYPERION_DIR/build"
|
cd "$HYPERION_DIR/build"
|
||||||
|
|
||||||
# run cmake to generate make files on the rsapberry pi
|
# run cmake to generate make files on the raspberry pi
|
||||||
cmake ..
|
cmake ..
|
||||||
# or if you are not compiling on the raspberry pi and need to disable the Dispmanx grabber and support for spi devices
|
# or if you are not compiling on the raspberry pi and need to disable the Dispmanx grabber and support for spi devices
|
||||||
cmake -DENABLE_DISPMANX=OFF -DENABLE_SPIDEV=OFF -DENABLE_X11=ON ..
|
cmake -DENABLE_DISPMANX=OFF -DENABLE_SPIDEV=OFF -DENABLE_X11=ON ..
|
||||||
|
Loading…
Reference in New Issue
Block a user