From: Yann E. MORIN Date: Mon, 13 Jul 2015 10:32:04 +0000 (+0200) Subject: package/uclibc: check for config file X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3e20a60566fff38dcb09c4042c594be45318ff73;p=buildroot.git 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" Signed-off-by: Thomas Petazzoni --- 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))