commit | 62dbb4af1567541ba742430dbdd94fe574e6b262 | [log] [tgz] |
---|---|---|
author | Jan Kundrát <jan.kundrat@cesnet.cz> | Thu Apr 05 20:42:09 2018 +0200 |
committer | Jan Kundrát <jan.kundrat@cesnet.cz> | Thu Apr 05 21:01:48 2018 +0200 |
tree | d03543b51c861afc3a46d4dacc3a9cd95a61f2c5 | |
parent | e8b1811386513e618319e7df1dde2aeaa1f839b9 [diff] |
Check that the /cfg size makes sense Change-Id: I8a437bd5482639179c7aaeefd75c14dd9ccfcfd0
diff --git a/package/czechlight-cfg-fs/czechlight-cfg-fs.mk b/package/czechlight-cfg-fs/czechlight-cfg-fs.mk index a1a5bef..2409b82 100644 --- a/package/czechlight-cfg-fs/czechlight-cfg-fs.mk +++ b/package/czechlight-cfg-fs/czechlight-cfg-fs.mk
@@ -9,4 +9,8 @@ $(HOST_DIR)/sbin/mkfs.ext4 -L cfg $(CZECHLIGHT_CFG_FS_LOCATION) $(call qstrip,$(CZECHLIGHT_CFG_FS_SIZE)) endef +ifeq ($(BR2_PACKAGE_CZECHLIGHT_CFG_FS)-$(call qstrip,$(CZECHLIGHT_CFG_FS_SIZE)),y-) +$(error CZECHLIGHT_CFG_FS_SIZE cannot be empty) +endif + $(eval $(generic-package))