include: add umask prereq check
authorJo-Philipp Wich <jo@mein.io>
Tue, 4 Oct 2016 09:04:50 +0000 (11:04 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 4 Oct 2016 09:08:58 +0000 (11:08 +0200)
commit5f80315634c66a647aed9673e10582acd8462d69
tree3c8fffb37b46a42e9e1990ae2702591b62ce0f96
parentb8d802fe9f6ddf02d67e7d847904e7389715561e
include: add umask prereq check

When building LEDE with umask values other than 022, the resulting packages
will embed improper permissions, which may lead to random errors or non-
functional scripts on the target.

In order to make users aware of this problem, add a build-prereq check to
assert a correct umask setting before starting the build.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
include/prereq-build.mk