[PATCH 21.02] build/json: fix IMAGE_PREFIX and DEFAULT_PACKAGES

Paul Spooren mail at aparcar.org
Wed Jun 2 13:04:39 PDT 2021


These two variables where missing in the definition of
DEFAULT_DEVICE_VARS which caused them to contain wrong values, messing
up the resuling JSON files.

This patch add the two variables IMAGE_PREFIX and DEFAULT_PACKAGES to
DEFAULT_DEVICE_VARS.

Suggested-by: Baptiste Jonglez <git at bitsofnetworks.org>
Signed-off-by: Paul Spooren <mail at aparcar.org>
---
 include/image.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/image.mk b/include/image.mk
index 8cfd2155f3..b6e8ab3c84 100644
--- a/include/image.mk
+++ b/include/image.mk
@@ -419,7 +419,7 @@ DEFAULT_DEVICE_VARS := \
   DEVICE_DTS_CONFIG DEVICE_DTS_DIR DEVICE_FDT_NUM SOC BOARD_NAME \
   UIMAGE_MAGIC UIMAGE_NAME \
   SUPPORTED_DEVICES IMAGE_METADATA KERNEL_ENTRY KERNEL_LOADADDR \
-  UBOOT_PATH IMAGE_SIZE \
+  IMAGE_PREFIX DEVICE_PACKAGES UBOOT_PATH IMAGE_SIZE \
   DEVICE_COMPAT_VERSION DEVICE_COMPAT_MESSAGE \
   DEVICE_VENDOR DEVICE_MODEL DEVICE_VARIANT \
   DEVICE_ALT0_VENDOR DEVICE_ALT0_MODEL DEVICE_ALT0_VARIANT \
-- 
2.30.2




More information about the openwrt-devel mailing list