[openwrt/openwrt] build/json: fix IMAGE_PREFIX and DEVICE_PACKAGES

LEDE Commits lede-commits at lists.infradead.org
Wed Jun 2 13:57:23 PDT 2021


zorun pushed a commit to openwrt/openwrt.git, branch openwrt-21.02:
https://git.openwrt.org/c9a38e21a924f5b69038d6e9d7a5c063e4d2e8d8

commit c9a38e21a924f5b69038d6e9d7a5c063e4d2e8d8
Author: Paul Spooren <mail at aparcar.org>
AuthorDate: Wed Jun 2 10:13:28 2021 -1000

    build/json: fix IMAGE_PREFIX and DEVICE_PACKAGES
    
    These two variables were missing in the definition of
    DEFAULT_DEVICE_VARS which caused them to contain wrong values, messing
    up the resulting JSON files.
    
    This patch adds the two variables IMAGE_PREFIX and DEVICE_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 \



More information about the lede-commits mailing list