summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2015-07-13 12:32:04 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-07-14 10:31:50 +0200
commit3e20a60566fff38dcb09c4042c594be45318ff73 (patch)
tree8a252f7285c0d4e0bb26d29e3cd76619aa376e31
parent3ff5f63e48237cf569aaba6be35e179bf8556a19 (diff)
downloadbuildroot-3e20a60566fff38dcb09c4042c594be45318ff73.tar.gz
buildroot-3e20a60566fff38dcb09c4042c594be45318ff73.zip
package/uclibc: check for config file
Add a check (before we call kconfig-package) that ensures the user has set a kconfig-file. 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/uclibc/uclibc.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/package/uclibc/uclibc.mk b/package/uclibc/uclibc.mk
index ecbfa113d4..3aceae300c 100644
--- a/package/uclibc/uclibc.mk
+++ b/package/uclibc/uclibc.mk
@@ -474,4 +474,12 @@ define UCLIBC_INSTALL_STAGING_CMDS
$(UCLIBC_INSTALL_UTILS_STAGING)
endef
+# Checks to give errors that the user can understand
+# Must be before we call to kconfig-package
+ifeq ($(BR_BUILDING),y)
+ifeq ($(call qstrip,$(BR2_UCLIBC_CONFIG)),)
+$(error No uClibc configuration file specified, check your BR2_UCLIBC_CONFIG setting)
+endif
+endif
+
$(eval $(kconfig-package))
OpenPOWER on IntegriCloud