summaryrefslogtreecommitdiffstats
path: root/package/cppcms/Config.in
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-03-23 18:43:00 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-04-20 19:14:34 +0200
commitdd5e620ac8211e970a2b12bedf114066026592bc (patch)
tree2ee7de148a3adaebf72dc7b75df019fc9308f36a /package/cppcms/Config.in
parentad2e796df3b281fbaa3e54c492d6c08898ee9ccd (diff)
downloadbuildroot-dd5e620ac8211e970a2b12bedf114066026592bc.tar.gz
buildroot-dd5e620ac8211e970a2b12bedf114066026592bc.zip
pkg-utils: introduce a make-based LOWERCASE function
Until now, our UPPERCASE function was implemented purely in make for performance reasons, but our LOWERCASE function was implemented by calling "tr", which was reasonable due to the fact that LOWERCASE was rarely used, but future changes might make a more heavy usage of the LOWERCASE macro. We want this LOWERCASE function to turn a "_" into a "-" and not a ".", so we slightly adjust the existing FROM and TO lists to make this possible. This doesn't change the behavior of the UPPERCASE macro because both "-" and "." are converted into "_" by this function. This change takes advantage of suggestions made by Arnout Vandecappelle, who said they further improve the performance of UPPERCASE and LOWERCASE by 30%/40%. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/cppcms/Config.in')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud