[OpenWrt-Devel] [PATCH 1/5] build: image: Add IMG_ROOTFS and IMG_COMBINED variables

Petr Štetiar ynezz at true.cz
Fri Mar 29 07:07:16 PDT 2019


Adding those two variables in order to share them across the tree.

Signed-off-by: Petr Štetiar <ynezz at true.cz>
---
 include/image.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/image.mk b/include/image.mk
index 9e40a54..6d9e347 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -42,6 +42,8 @@ IMG_PREFIX_VERNUM:=$(if $(CONFIG_VERSION_FILENAMES),$(call sanitize,$(VERSION_NU
 IMG_PREFIX_VERCODE:=$(if $(CONFIG_VERSION_CODE_FILENAMES),$(call sanitize,$(VERSION_CODE))-)
 
 IMG_PREFIX:=$(VERSION_DIST_SANITIZED)-$(IMG_PREFIX_VERNUM)$(IMG_PREFIX_VERCODE)$(IMG_PREFIX_EXTRA)$(BOARD)$(if $(SUBTARGET),-$(SUBTARGET))
+IMG_ROOTFS:=$(IMG_PREFIX)-rootfs
+IMG_COMBINED:=$(IMG_PREFIX)-combined
 
 MKFS_DEVTABLE_OPT := -D $(INCLUDE_DIR)/device_table.txt
 
-- 
1.9.1




More information about the openwrt-devel mailing list