summaryrefslogtreecommitdiffstats
path: root/package/uclibc
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2015-07-14 12:13:21 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-07-14 12:20:49 +0200
commitcdcd83f31ded1dbf6d13d16b4aafdf594b964d94 (patch)
treed869bff415972c92ca9c07bd48a0ec4ad4c03179 /package/uclibc
parent6e060b9c83228e81ce61a8f326970e064982fa50 (diff)
downloadbuildroot-cdcd83f31ded1dbf6d13d16b4aafdf594b964d94.tar.gz
buildroot-cdcd83f31ded1dbf6d13d16b4aafdf594b964d94.zip
package: fix fallout from checking kconfig config files
Those checks should only be done when the package is actually enabled. Reported-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/uclibc')
-rw-r--r--package/uclibc/uclibc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/uclibc/uclibc.mk b/package/uclibc/uclibc.mk
index 3aceae300c..9dfafad457 100644
--- a/package/uclibc/uclibc.mk
+++ b/package/uclibc/uclibc.mk
@@ -476,7 +476,7 @@ endef
# Checks to give errors that the user can understand
# Must be before we call to kconfig-package
-ifeq ($(BR_BUILDING),y)
+ifeq ($(BR2_PACKAGE_UCLIBC)$(BR_BUILDING),yy)
ifeq ($(call qstrip,$(BR2_UCLIBC_CONFIG)),)
$(error No uClibc configuration file specified, check your BR2_UCLIBC_CONFIG setting)
endif
OpenPOWER on IntegriCloud