Skip to content

Running cmake

David Banks edited this page Dec 9, 2020 · 10 revisions

Start off by checking out the PiTubeDirect git repository:

git clone https://github.com/hoglet67/PiTubeDirect.git

If you want a specific branch change the above to :

git clone -b <branchname> https://github.com/hoglet67/PiTubeDirect.git

Go to the scripts directory:

cd PiTubeDirect/src/scripts

Clean out any old builds:

bash ./clobber.sh

Run one of the following commands, depending on the model of Pi that you have:

bash ./configure_rpi.sh (for the Pi Model B Rev 1.0)

bash ./configure_rpi2.sh (for the Pi 2)

bash ./configure_rpi3.sh (for the Pi 3)

bash ./configure_rpi4.sh (for the Pi 4)

If you want the build to include the core debuggers (e.g. if you are developing software) then add -DDEBUG=1 to the configure.sh script.

You should now see that a Makefile has been created

Next: Compiling kernel.img