[Buildroot] [PATCH 1 of 5 v2] Makefile.package.in: add utility functions find*clauses and notfirstword

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Nov 17 19:50:10 UTC 2011


Le Thu, 17 Nov 2011 20:41:48 +0100,
Thomas De Schampheleire <patrickdepinguin+buildroot at gmail.com> a écrit :

> Functions finddirclauses and findfileclauses help in building a find
> command that skips a set of directories and performs operations on a
> set of files. This pattern can for example be used to keep certain
> files or directories from being stripped, or to remove certain files
> from a package installation.

I must say I am not a big fan of this. Those macros are horribly
complicated to understand and they make the code really cryptic. I
think I would really prefer to see the implementation of these "do not
strip this file/directory" option to be done without those cryptic
macros.

Regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list