summaryrefslogtreecommitdiffstats
path: root/package/uclibc
diff options
context:
space:
mode:
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