aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey 'Jin' Bostandzhyan <jin@mediatomb.cc>2020-02-11 10:23:38 +0100
committerTrevor Woerner <twoerner@gmail.com>2020-02-11 11:24:40 -0500
commit3f8c52b2c4ebb13548f368a3ba7d39e7669d3dbb (patch)
tree0b5a7e7fa797191bfd70eebc7e860002d5f0eeea
parent022877f4387e24a99e1965a89219238e7f85b3e7 (diff)
downloadmeta-rockchip-3f8c52b2c4ebb13548f368a3ba7d39e7669d3dbb.tar.gz
meta-rockchip-3f8c52b2c4ebb13548f368a3ba7d39e7669d3dbb.tar.bz2
meta-rockchip-3f8c52b2c4ebb13548f368a3ba7d39e7669d3dbb.zip
Allow to override WKS_FILE variable
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. Signed-off-by: Sergey Bostandzhyan <jin@mediatomb.cc>
-rw-r--r--conf/machine/firefly-rk3288.conf2
-rw-r--r--conf/machine/tinker-board-s.conf2
-rw-r--r--conf/machine/tinker-board.conf2
-rw-r--r--conf/machine/vyasa-rk3288.conf2
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 ?= " \