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>
This commit is contained in:
parent
3ff5f63e48
commit
3e20a60566
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user