diff mbox series

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

Message ID 1553868440-26476-2-git-send-email-ynezz@true.cz
State Changes Requested
Headers show
Series x86: Fix small disk space in squashfs overlay | expand

Commit Message

Petr Štetiar March 29, 2019, 2:07 p.m. UTC
Adding those two variables in order to share them across the tree.

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

Patch

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