Em 11-01-2011 08:37, Vincent McIntyre escreveu: > On 1/10/11, Mauro Carvalho Chehab <mchehab@xxxxxxxxxx> wrote: > >> Thanks for your script, but it seems specific to your environment. Could you >> please make it more generic and perhaps patch the existing build.sh script? > > I was mainly intending to show how I happen to do this. It's way too complicated > compared to build.sh, which is a really nice solution. > >> It would be nice to have some optional parameters there, to make life easier >> for end-users. > > I can certainly try to supply some patches but I'm not sure what > parameters you have in mind. > build.sh is such a nice simple method; my script attempts to do > everything via git which is > overkill unless one is actively developing. Perhaps I could rework > into a distinct build_git.sh. That could be interesting. For those using git trees, the better way is to use make -C linux DIR=<git dir> This needs to be done just once, as it will store some info at linux/.linked_dir. It will basically store there the directory with the git tree, and the hashes of the original, media_build original copy and media_build copy after patched. Every time someone tries to compile, it re-checks the hashes and re-copy the file from the git tree, if needed. Cheers, Mauro -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html