diff options
author | Yann E. MORIN <yann.morin.1998@free.fr> | 2015-07-13 12:31:58 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-07-14 10:24:10 +0200 |
commit | 61ca162f5bf052f70c6ac356358120329e4b1c6d (patch) | |
tree | a3d8a305319daa7f6c9229fa418d02e570dc1e44 | |
parent | ddc63be5294af5418207564ffb5ab1ecc3f9b055 (diff) | |
download | buildroot-61ca162f5bf052f70c6ac356358120329e4b1c6d.tar.gz buildroot-61ca162f5bf052f70c6ac356358120329e4b1c6d.zip |
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>
-rw-r--r-- | package/pkg-kconfig.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/package/pkg-kconfig.mk b/package/pkg-kconfig.mk index c86c340839..f708875bca 100644 --- a/package/pkg-kconfig.mk +++ b/package/pkg-kconfig.mk @@ -90,9 +90,11 @@ $$($(2)_TARGET_CONFIGURE): $$($(2)_DIR)/.stamp_kconfig_fixup_done ifeq ($$($$($(2)_KCONFIG_VAR)),y) # FOO_KCONFIG_FILE is required +ifeq ($$(BR_BUILDING),y) ifeq ($$($(2)_KCONFIG_FILE),) $$(error Internal error: no value specified for $(2)_KCONFIG_FILE) endif +endif # Configuration editors (menuconfig, ...) # |