From: Yann E. MORIN Date: Mon, 13 Jul 2015 10:32:03 +0000 (+0200) Subject: package/busybox: check for config file X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3ff5f63e48237cf569aaba6be35e179bf8556a19;p=buildroot.git package/busybox: 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/busybox/busybox.mk b/package/busybox/busybox.mk index aab7f5d577..d8c8bad318 100644 --- a/package/busybox/busybox.mk +++ b/package/busybox/busybox.mk @@ -223,4 +223,12 @@ define BUSYBOX_INSTALL_INIT_SYSV $(BUSYBOX_INSTALL_TELNET_SCRIPT) 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_PACKAGE_BUSYBOX_CONFIG)),) +$(error No BusyBox configuration file specified, check your BR2_PACKAGE_BUSYBOX_CONFIG setting) +endif +endif + $(eval $(kconfig-package))