From: Sergey 'Jin' Bostandzhyan <[email protected]> Currently machine configs define the partition layout for each machine by setting the WKS_FILE variable. However, there are situations where it may be needed to use a different, non default layout. To simplify such configurations we will set WKS_FILE using ?= so that it can be easily overriden in local configurations. --- conf/machine/firefly-rk3288.conf | 2 +- conf/machine/tinker-board-s.conf | 2 +- conf/machine/tinker-board.conf | 2 +- conf/machine/vyasa-rk3288.conf | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/conf/machine/firefly-rk3288.conf b/conf/machine/firefly-rk3288.conf index 0a9eab6..2a5f0ba 100644 --- a/conf/machine/firefly-rk3288.conf +++ b/conf/machine/firefly-rk3288.conf @@ -11,7 +11,7 @@ require conf/machine/include/rk3288.inc KERNEL_DEVICETREE = "rk3288-firefly.dtb" UBOOT_MACHINE = "firefly-rk3288_defconfig" -WKS_FILE = "firefly-rk3288.wks" +WKS_FILE ?= "firefly-rk3288.wks" IMAGE_FSTYPES += "wic wic.bmap" WKS_FILE_DEPENDS ?= " \ diff --git a/conf/machine/tinker-board-s.conf b/conf/machine/tinker-board-s.conf index a7fe2fc..f7b17e4 100644 --- a/conf/machine/tinker-board-s.conf +++ b/conf/machine/tinker-board-s.conf @@ -12,7 +12,7 @@ UBOOT_MACHINE = "tinker-s-rk3288_defconfig" RK_BOOT_DEVICE ?= "mmcblk1" -WKS_FILE = "tinker-board.wks" +WKS_FILE ?= "tinker-board.wks" IMAGE_FSTYPES += "wic wic.bmap" WKS_FILE_DEPENDS ?= " \ diff --git a/conf/machine/tinker-board.conf b/conf/machine/tinker-board.conf index c8cac7b..1c3c08a 100644 --- a/conf/machine/tinker-board.conf +++ b/conf/machine/tinker-board.conf @@ -10,7 +10,7 @@ require conf/machine/include/rk3288.inc KERNEL_DEVICETREE = "rk3288-tinker.dtb" UBOOT_MACHINE = "tinker-rk3288_defconfig" -WKS_FILE = "tinker-board.wks" +WKS_FILE ?= "tinker-board.wks" IMAGE_FSTYPES += "wic wic.bmap" WKS_FILE_DEPENDS ?= " \ diff --git a/conf/machine/vyasa-rk3288.conf b/conf/machine/vyasa-rk3288.conf index 1e1eba4..c92c821 100644 --- a/conf/machine/vyasa-rk3288.conf +++ b/conf/machine/vyasa-rk3288.conf @@ -14,7 +14,7 @@ KERNEL_EXTRA_ARGS += "LOADADDR=0x02000000" UBOOT_MACHINE = "vyasa-rk3288_defconfig" RK_BOOT_DEVICE = "mmcblk2" -WKS_FILE = "vyasa-rk3288.wks" +WKS_FILE ?= "vyasa-rk3288.wks" IMAGE_FSTYPES += "wic wic.bmap" WKS_FILE_DEPENDS ?= " \ -- 2.24.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#48357): https://lists.yoctoproject.org/g/yocto/message/48357 Mute This Topic: https://lists.yoctoproject.org/mt/71170413/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
