mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-01 15:37:44 +00:00
swupdate: provide sensible error message if no config file is specified
Similar to how we do it for the other kconfig packages. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
02d9a379f4
commit
d6d1848c89
@ -103,4 +103,12 @@ define SWUPDATE_INSTALL_TARGET_CMDS
|
|||||||
cp -dpf $(@D)/www/* $(TARGET_DIR)/var/www/swupdate)
|
cp -dpf $(@D)/www/* $(TARGET_DIR)/var/www/swupdate)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
# Checks to give errors that the user can understand
|
||||||
|
# Must be before we call to kconfig-package
|
||||||
|
ifeq ($(BR2_PACKAGE_SWUPDATE)$(BR_BUILDING),yy)
|
||||||
|
ifeq ($(call qstrip,$(BR2_PACKAGE_SWUPDATE_CONFIG)),)
|
||||||
|
$(error No Swupdate configuration file specified, check your BR2_PACKAGE_SWUPDATE_CONFIG setting)
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
$(eval $(kconfig-package))
|
$(eval $(kconfig-package))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user