core/pkg-kconfig: don't enforce check for config file when not building
authorYann E. MORIN <yann.morin.1998@free.fr>
Mon, 13 Jul 2015 10:31:58 +0000 (12:31 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 14 Jul 2015 08:24:10 +0000 (10:24 +0200)
commit61ca162f5bf052f70c6ac356358120329e4b1c6d
treea3d8a305319daa7f6c9229fa418d02e570dc1e44
parentddc63be5294af5418207564ffb5ab1ecc3f9b055
core/pkg-kconfig: don't enforce check for config file when not building

Currently, this is triggering the error message:
    make randconfig
    make source

Only limit the check to enforce a config file being set to when we are
actually building, like is done in the various kconfig-using packages.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/pkg-kconfig.mk