Skip to content
Commit 4efdd9f3 authored by Peter Korsgaard's avatar Peter Korsgaard
Browse files

Makefile.package.in: optimize UPPERCASE macro

As noticed by Thomas, we call the UPPERCASE macro a lot, and it slows down
startup quite a bit.

Optimize it by implementing it in make, rather than forking a shell + tr.
The implementation is heavily based on the 'up' macro from gmsl
(http://gmsl.sf.net

)

With this in place, startup time is ~5 times lower.

Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent d701a823
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment