Update compile instructions

Former-commit-id: a620bcf775042199aeedf17b50a0eff170e6cfb4
This commit is contained in:
poljvd 2015-01-16 09:10:23 +01:00
parent a28ac5203d
commit 391ccf4738
2 changed files with 10 additions and 0 deletions

View File

@ -13,6 +13,11 @@ sudo cp -R "$FIRMWARE_DIR/hardfp/opt/*" /opt
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"
# if you forget the --resursive in above statement or you are updating an existing clone you need
# to clone the protobuf submodule by runnning the follwing two statements:
git submodule init
git submodule update
# create and enter the build directory # create and enter the build directory
mkdir "$HYPERION_DIR/build" mkdir "$HYPERION_DIR/build"
cd "$HYPERION_DIR/build" cd "$HYPERION_DIR/build"

View File

@ -30,6 +30,11 @@ git clone git://github.com/raspberrypi/tools.git "$RASCROSS_DIR/tools"
# get the Hyperion sources # get the Hyperion sources
git clone --recursive https://github.com/tvdzwan/hyperion.git "$HYPERION_DIR" git clone --recursive https://github.com/tvdzwan/hyperion.git "$HYPERION_DIR"
# if you forget the --resursive in above statement or you are updating an existing clone you need
# to clone the protobuf submodule by runnning the follwing two statements:
git submodule init
git submodule update
# do a native build (to build the protobuf compiler for the native platform) # do a native build (to build the protobuf compiler for the native platform)
mkdir "$HYPERION_DIR/build" mkdir "$HYPERION_DIR/build"
cmake -DENABLE_DISPMANX=OFF --build "$HYPERION_DIR/build" "$HYPERION_DIR" cmake -DENABLE_DISPMANX=OFF --build "$HYPERION_DIR/build" "$HYPERION_DIR"