prattmic/F4OS — pull request #6 by utzig (2012-10-25 22:31:20+00:00)
Title: Fix build failure on Mac OS X due to formatted wc output

When building on my Mac OS X, REV gets the value of $(git rev-list HEAD | wc -l), which is formatted with spaces before the number, so i ends up being something like:

REV= 971

which fails. This patch just removes any spaces on the output of $(wc -l) so that REV get only the integer value.