de-wolff/OpenELEC.tv — comment on commit 1f6fe3adb5a46c57637ac3bcad075c43cfb70c60
File: packages/linux-drivers/linux-tbs/Makefile line 51
By de-wolff:

> ok, thanks much...
>
> the whole scripts looks a bit complicated, maybe we must find a way to
> make it simpler, i will help you with this, maybe i have some ideas. so
> its possible i will comment more stuff later.
>
> can you please add a subfolder "sources" with this Makefile and the
> other files so only our buildscripts are in tha root of this
> packagefolder?
Unfortunately my harddisk crashed last night during the OpenELEC build :(

But as soon as my private computer is fully running again, I will redo the
work I did locally yesterday, and continue this.

About the makefile:
For each of the 13 generated kernel modules (for 13 different dvb cards),
there are two lines in the script, according to the KBuild
recommendations.

From this makefile the kernel make is called to generate the kernel modules.
The top 10 lines are not necessary when building for openelec, because
those lines are overridden by commandline arguments, and also the install
target is not used, but I did think it was better to create a makefile,
that can also be used without the openelec installer.

I can also generate this makefile by a shell script that is some smaller,
but imo that is less transparant

>
> many thanks
>