Kodi Community Forum

Full Version: General noob questions about compiling from source
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello there!

Since XBMC moved to git and I had to do some changes on my machine anyway, I decided to set up a cron script for building xbmc from source. I set up the following bash script and have 2 questions about it.

Code:
#!/bin/bash
cd /root/xbmc-git
git pull
make clean
./bootstrap
./configure
make -j2
make -C lib/addons/script.module.pil
make -C lib/addons/script.module.pysqlite

1. Do I have to "make clean"? I suppose if I don't then only the changed source files will be compiled to object files, which will speed up the build time? I have very basic knowledge on programming and I'm unsure.

2. What are these for (from the README.linux)? I'm asking, because I've been "svn up" and compiling my xbmc without issues for months and never included those.
Code:
make -C lib/addons/script.module.pil
make -C lib/addons/script.module.pysqlite

Thanks!