Patchwork [meta-fsl-ppc,dylan,29/30] conf/machine/*: make KERNEL_DEVICETREE overridable

login
register
mail settings
Submitter Ting Liu
Date Jan. 7, 2014, 1:09 p.m.
Message ID <1389100192-19057-30-git-send-email-b28495@freescale.com>
Download mbox | patch
Permalink /patch/64297/
State Accepted
Headers show

Comments

Ting Liu - Jan. 7, 2014, 1:09 p.m.
From: Ting Liu <b28495@freescale.com>

Signed-off-by: Ting Liu <b28495@freescale.com>
---
 conf/machine/b4420qds-64b.conf |    3 ++-
 conf/machine/b4420qds.conf     |    3 ++-
 conf/machine/b4860qds-64b.conf |    2 +-
 conf/machine/b4860qds.conf     |    2 +-
 conf/machine/bsc9131rdb.conf   |    2 +-
 conf/machine/bsc9132qds.conf   |    2 +-
 conf/machine/c293pcie.conf     |    2 +-
 conf/machine/p1020rdb.conf     |    2 +-
 conf/machine/p1021rdb.conf     |    2 +-
 conf/machine/p1022ds.conf      |    2 +-
 conf/machine/p1023rdb.conf     |    2 +-
 conf/machine/p1025twr.conf     |    2 +-
 conf/machine/p2020ds.conf      |    2 +-
 conf/machine/p2020rdb.conf     |    2 +-
 conf/machine/p2041rdb.conf     |    2 +-
 conf/machine/p3041ds.conf      |    2 +-
 conf/machine/p4080ds.conf      |    2 +-
 conf/machine/p5020ds-64b.conf  |    2 +-
 conf/machine/p5020ds.conf      |    2 +-
 conf/machine/p5040ds-64b.conf  |    2 +-
 conf/machine/p5040ds.conf      |    2 +-
 conf/machine/t4160qds-64b.conf |    2 +-
 conf/machine/t4160qds.conf     |    2 +-
 conf/machine/t4240qds-64b.conf |    2 +-
 conf/machine/t4240qds.conf     |    2 +-
 25 files changed, 27 insertions(+), 25 deletions(-)

Patch

diff --git a/conf/machine/b4420qds-64b.conf b/conf/machine/b4420qds-64b.conf
index 07d0ca9..bb1beb6 100644
--- a/conf/machine/b4420qds-64b.conf
+++ b/conf/machine/b4420qds-64b.conf
@@ -8,7 +8,8 @@  SOC_FAMILY = "b4420"
 
 # TODO: fix 32bit build of u-boot
 UBOOT_MACHINES ?= "B4420QDS"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/b4420qds.dts ${S}/arch/powerpc/boot/dts/b4420qds-usdpaa.dts"
+KERNEL_DEVICETREE ?= "${S}/arch/powerpc/boot/dts/b4420qds.dts \
+    ${S}/arch/powerpc/boot/dts/b4420qds-usdpaa.dts"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/85xx/e6500rev2_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
diff --git a/conf/machine/b4420qds.conf b/conf/machine/b4420qds.conf
index e8fa574..663155d 100644
--- a/conf/machine/b4420qds.conf
+++ b/conf/machine/b4420qds.conf
@@ -6,7 +6,8 @@  require conf/machine/include/soc-family.inc
 
 SOC_FAMILY = "b4420"
 UBOOT_MACHINES ?= "B4420QDS"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/b4420qds.dts ${S}/arch/powerpc/boot/dts/b4420qds-usdpaa.dts"
+KERNEL_DEVICETREE ?= "${S}/arch/powerpc/boot/dts/b4420qds.dts \
+    ${S}/arch/powerpc/boot/dts/b4420qds-usdpaa.dts"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/85xx/e6500rev2_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
diff --git a/conf/machine/b4860qds-64b.conf b/conf/machine/b4860qds-64b.conf
index 7853cb6..da6900d 100644
--- a/conf/machine/b4860qds-64b.conf
+++ b/conf/machine/b4860qds-64b.conf
@@ -7,7 +7,7 @@  require conf/machine/include/soc-family.inc
 SOC_FAMILY = "b4860"
 # TODO: fix 32bit build of u-boot
 UBOOT_MACHINES ?= "B4860QDS"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/b4860qds.dts \
+KERNEL_DEVICETREE ?= "${S}/arch/powerpc/boot/dts/b4860qds.dts \
 	${S}/arch/powerpc/boot/dts/b4860qds-usdpaa.dts"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/85xx/e6500rev2_defconfig"
 
diff --git a/conf/machine/b4860qds.conf b/conf/machine/b4860qds.conf
index 246f4ad..6b71789 100644
--- a/conf/machine/b4860qds.conf
+++ b/conf/machine/b4860qds.conf
@@ -6,7 +6,7 @@  require conf/machine/include/soc-family.inc
 
 SOC_FAMILY = "b4860"
 UBOOT_MACHINES ?= "B4860QDS"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/b4860qds.dts \
+KERNEL_DEVICETREE ?= "${S}/arch/powerpc/boot/dts/b4860qds.dts \
 	${S}/arch/powerpc/boot/dts/b4860qds-usdpaa.dts"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/85xx/e6500rev2_defconfig"
 
diff --git a/conf/machine/bsc9131rdb.conf b/conf/machine/bsc9131rdb.conf
index 39a73e5..d3aa459 100644
--- a/conf/machine/bsc9131rdb.conf
+++ b/conf/machine/bsc9131rdb.conf
@@ -6,7 +6,7 @@  require conf/machine/include/soc-family.inc
 
 SOC_FAMILY = "bsc9131"
 UBOOT_MACHINES ?= "BSC9131RDB_SPIFLASH BSC9131RDB_NAND BSC9131RDB_NAND_SYSCLK100 BSC9131RDB_SPIFLASH_SYSCLK100"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/bsc9131rdb.dts"
+KERNEL_DEVICETREE ?= "${S}/arch/powerpc/boot/dts/bsc9131rdb.dts"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/85xx/bsc913x_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
diff --git a/conf/machine/bsc9132qds.conf b/conf/machine/bsc9132qds.conf
index 90131a9..185c9bc 100644
--- a/conf/machine/bsc9132qds.conf
+++ b/conf/machine/bsc9132qds.conf
@@ -6,7 +6,7 @@  require conf/machine/include/soc-family.inc
 
 SOC_FAMILY = "bsc9132"
 UBOOT_MACHINES ?= " BSC9132QDS_NAND_DDRCLK133 BSC9132QDS_NAND_DDRCLK100 BSC9132QDS_NOR_DDRCLK100 BSC9132QDS_NOR_DDRCLK133 BSC9132QDS_SDCARD_DDRCLK100 BSC9132QDS_SDCARD_DDRCLK133 BSC9132QDS_SPIFLASH_DDRCLK100 BSC9132QDS_SPIFLASH_DDRCLK133"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/bsc9132qds.dts"
+KERNEL_DEVICETREE ?= "${S}/arch/powerpc/boot/dts/bsc9132qds.dts"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/85xx/bsc913x_smp_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
diff --git a/conf/machine/c293pcie.conf b/conf/machine/c293pcie.conf
index c52c6fb..318b17e 100644
--- a/conf/machine/c293pcie.conf
+++ b/conf/machine/c293pcie.conf
@@ -7,7 +7,7 @@  require conf/machine/include/soc-family.inc
 SOC_FAMILY = "c293pcie"
 BOOTFORMAT_CONFIG = "config_ddr3_512m_c29xpcie_800M.dat"
 UBOOT_MACHINES ?= "C293PCIE C293PCIE_NAND C293PCIE_SPIFLASH C293PCIE_SECBOOT C293PCIE_SPIFLASH_SECBOOT"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/c293pcie_36b.dts"
+KERNEL_DEVICETREE ?= "${S}/arch/powerpc/boot/dts/c293pcie_36b.dts"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/mpc85xx_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
diff --git a/conf/machine/p1020rdb.conf b/conf/machine/p1020rdb.conf
index d4577c0..46649c3 100644
--- a/conf/machine/p1020rdb.conf
+++ b/conf/machine/p1020rdb.conf
@@ -8,7 +8,7 @@  SOC_FAMILY = "p1020"
 BOOTFORMAT_CONFIG = "config_sram_p1022ds.dat"
 UBOOT_MACHINES ?= " P1020RDB-PD P1020RDB-PD_NAND P1020RDB-PD_SDCARD P1020RDB-PD_SPIFLASH"
 
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p1020rdb-pd_32b.dts"
+KERNEL_DEVICETREE ?= "${S}/arch/powerpc/boot/dts/p1020rdb-pd_32b.dts"
 
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/mpc85xx_smp_defconfig"
 
diff --git a/conf/machine/p1021rdb.conf b/conf/machine/p1021rdb.conf
index c25cbf4..5373aab 100644
--- a/conf/machine/p1021rdb.conf
+++ b/conf/machine/p1021rdb.conf
@@ -8,7 +8,7 @@  require conf/machine/include/soc-family.inc
 SOC_FAMILY = "p1021"
 BOOTFORMAT_CONFIG = "config_sram_p1022ds.dat"
 UBOOT_MACHINES ?= "P1021RDB-PC P1021RDB-PC_NAND P1021RDB-PC_SDCARD P1021RDB-PC_SPIFLASH P1021RDB-PC_36BIT P1021RDB-PC_36BIT_SPIFLASH P1021RDB-PC_36BIT_NAND P1021RDB-PC_36BIT_SDCARD"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p1021rdb-pc_32b.dts"
+KERNEL_DEVICETREE ?= "${S}/arch/powerpc/boot/dts/p1021rdb-pc_32b.dts"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/mpc85xx_smp_defconfig"
 
 JFFS2_ERASEBLOCK = "0x20000"
diff --git a/conf/machine/p1022ds.conf b/conf/machine/p1022ds.conf
index 41ad6ff..07ae9d5 100644
--- a/conf/machine/p1022ds.conf
+++ b/conf/machine/p1022ds.conf
@@ -7,7 +7,7 @@  require conf/machine/include/soc-family.inc
 SOC_FAMILY = "p1022"
 BOOTFORMAT_CONFIG = "config_sram_p1022ds.dat"
 UBOOT_MACHINES ?= "P1022DS P1022DS_NAND P1022DS_SPIFLASH P1022DS_SDCARD P1022DS_36BIT P1022DS_36BIT_SPIFLASH P1022DS_36BIT_NAND P1022DS_36BIT_SDCARD"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p1022ds_32b.dts"
+KERNEL_DEVICETREE ?= "${S}/arch/powerpc/boot/dts/p1022ds_32b.dts"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/mpc85xx_smp_defconfig"
 
 PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
diff --git a/conf/machine/p1023rdb.conf b/conf/machine/p1023rdb.conf
index e591e09..1c13a14 100644
--- a/conf/machine/p1023rdb.conf
+++ b/conf/machine/p1023rdb.conf
@@ -6,7 +6,7 @@  require conf/machine/include/soc-family.inc
 
 SOC_FAMILY = "p1023"
 UBOOT_MACHINES ?= "P1023RDB"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p1023rdb.dts"
+KERNEL_DEVICETREE ?= "${S}/arch/powerpc/boot/dts/p1023rdb.dts"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/85xx/p1023rds_defconfig"
 
 JFFS2_ERASEBLOCK = "0x10000"
diff --git a/conf/machine/p1025twr.conf b/conf/machine/p1025twr.conf
index d1d1db0..769bf98 100644
--- a/conf/machine/p1025twr.conf
+++ b/conf/machine/p1025twr.conf
@@ -8,7 +8,7 @@  require conf/machine/include/soc-family.inc
 SOC_FAMILY = "p1025"
 BOOTFORMAT_CONFIG = "config_ddr3_1gb_p1_p2_rdb_pc_667M.dat"
 UBOOT_MACHINES ?= "TWR-P1025"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p1025twr_32b.dts"
+KERNEL_DEVICETREE ?= "${S}/arch/powerpc/boot/dts/p1025twr_32b.dts"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/mpc85xx_smp_defconfig"
 
 JFFS2_ERASEBLOCK = "0x20000"
diff --git a/conf/machine/p2020ds.conf b/conf/machine/p2020ds.conf
index 9ca1617..248be34 100644
--- a/conf/machine/p2020ds.conf
+++ b/conf/machine/p2020ds.conf
@@ -7,7 +7,7 @@  require conf/machine/include/soc-family.inc
 SOC_FAMILY = "p2020"
 BOOTFORMAT_CONFIG = "config_sram_p2020ds.dat"
 UBOOT_MACHINES ?= "P2020DS P2020DS_36BIT P2020DS_DDR2 P2020DS_SDCARD P2020DS_SPIFLASH"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p2020ds.dts"
+KERNEL_DEVICETREE ?= "${S}/arch/powerpc/boot/dts/p2020ds.dts"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/mpc85xx_smp_defconfig"
 
 JFFS2_ERASEBLOCK = "0x20000"
diff --git a/conf/machine/p2020rdb.conf b/conf/machine/p2020rdb.conf
index 74195b6..48b0b39 100644
--- a/conf/machine/p2020rdb.conf
+++ b/conf/machine/p2020rdb.conf
@@ -8,7 +8,7 @@  require conf/machine/include/soc-family.inc
 SOC_FAMILY = "p2020"
 BOOTFORMAT_CONFIG = "config_sram_p1022ds.dat"
 UBOOT_MACHINES ?= " P2020RDB-PC P2020RDB-PC_NAND P2020RDB-PC_SDCARD P2020RDB-PC_SPIFLASH P2020RDB-PC_36BIT P2020RDB-PC_36BIT_SPIFLASH P2020RDB-PC_36BIT_NAND P2020RDB-PC_36BIT_SDCARD"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p2020rdb-pc_32b.dts"
+KERNEL_DEVICETREE ?= "${S}/arch/powerpc/boot/dts/p2020rdb-pc_32b.dts"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/mpc85xx_smp_defconfig"
 
 JFFS2_ERASEBLOCK = "0x20000"
diff --git a/conf/machine/p2041rdb.conf b/conf/machine/p2041rdb.conf
index 2f96ce6..0f08a73 100644
--- a/conf/machine/p2041rdb.conf
+++ b/conf/machine/p2041rdb.conf
@@ -6,7 +6,7 @@  require conf/machine/include/soc-family.inc
 
 SOC_FAMILY = "p2041"
 UBOOT_MACHINES ?= "P2041RDB P2041RDB_NAND P2041RDB_SECURE_BOOT P2041RDB_SDCARD P2041RDB_SPIFLASH"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p2041rdb.dts \
+KERNEL_DEVICETREE ?= "${S}/arch/powerpc/boot/dts/p2041rdb.dts \
 	${S}/arch/powerpc/boot/dts/p2041rdb-usdpaa.dts"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/corenet32_smp_defconfig"
 
diff --git a/conf/machine/p3041ds.conf b/conf/machine/p3041ds.conf
index 6fb80e1..38612cc 100644
--- a/conf/machine/p3041ds.conf
+++ b/conf/machine/p3041ds.conf
@@ -6,7 +6,7 @@  require conf/machine/include/soc-family.inc
 
 SOC_FAMILY = "p3041"
 UBOOT_MACHINES ?= "P3041DS P3041DS_NAND P3041DS_SECURE_BOOT P3041DS_SDCARD P3041DS_SPIFLASH"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p3041ds.dts \
+KERNEL_DEVICETREE ?= "${S}/arch/powerpc/boot/dts/p3041ds.dts \
 	${S}/arch/powerpc/boot/dts/p3041ds-usdpaa.dts"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/corenet32_smp_defconfig"
 
diff --git a/conf/machine/p4080ds.conf b/conf/machine/p4080ds.conf
index daa929a..21ff5df 100644
--- a/conf/machine/p4080ds.conf
+++ b/conf/machine/p4080ds.conf
@@ -6,7 +6,7 @@  require conf/machine/include/soc-family.inc
 
 SOC_FAMILY = "p4080"
 UBOOT_MACHINES ?= "P4080DS P4080DS_SECURE_BOOT P4080DS_SDCARD P4080DS_SPIFLASH "
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p4080ds.dts \
+KERNEL_DEVICETREE ?= "${S}/arch/powerpc/boot/dts/p4080ds.dts \
 	${S}/arch/powerpc/boot/dts/p4080ds-usdpaa.dts"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/corenet32_smp_defconfig"
 
diff --git a/conf/machine/p5020ds-64b.conf b/conf/machine/p5020ds-64b.conf
index e67ad1e..0c19c72 100644
--- a/conf/machine/p5020ds-64b.conf
+++ b/conf/machine/p5020ds-64b.conf
@@ -7,7 +7,7 @@  require conf/machine/include/soc-family.inc
 SOC_FAMILY = "p5020"
 # TODO: fix 32bit build of u-boot for p5020ds-64b
 UBOOT_MACHINES ?= "P5020DS"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p5020ds.dts \
+KERNEL_DEVICETREE ?= "${S}/arch/powerpc/boot/dts/p5020ds.dts \
 	${S}/arch/powerpc/boot/dts/p5020ds-usdpaa.dts"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/corenet64_smp_defconfig"
 
diff --git a/conf/machine/p5020ds.conf b/conf/machine/p5020ds.conf
index d4ce3d3..55f5fe4 100644
--- a/conf/machine/p5020ds.conf
+++ b/conf/machine/p5020ds.conf
@@ -6,7 +6,7 @@  require conf/machine/include/soc-family.inc
 
 SOC_FAMILY = "p5020"
 UBOOT_MACHINES ?= "P5020DS P5020DS_NAND P5020DS_SECURE_BOOT P5020DS_SDCARD P5020DS_SPIFLASH "
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p5020ds.dts \
+KERNEL_DEVICETREE ?= "${S}/arch/powerpc/boot/dts/p5020ds.dts \
 	${S}/arch/powerpc/boot/dts/p5020ds-usdpaa.dts"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/corenet32_smp_defconfig"
 
diff --git a/conf/machine/p5040ds-64b.conf b/conf/machine/p5040ds-64b.conf
index 2a885b7..085d36b 100644
--- a/conf/machine/p5040ds-64b.conf
+++ b/conf/machine/p5040ds-64b.conf
@@ -6,7 +6,7 @@  require conf/machine/include/soc-family.inc
 
 SOC_FAMILY = "p5040"
 UBOOT_MACHINES ?= "P5040DS  P5040DS_NAND P5040DS_SECURE_BOOT P5040DS_SDCARD P5040DS_SPIFLASH"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p5040ds.dts \
+KERNEL_DEVICETREE ?= "${S}/arch/powerpc/boot/dts/p5040ds.dts \
 	${S}/arch/powerpc/boot/dts/p5040ds-usdpaa.dts"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/corenet64_smp_defconfig"
 
diff --git a/conf/machine/p5040ds.conf b/conf/machine/p5040ds.conf
index c7d253f..375b398 100644
--- a/conf/machine/p5040ds.conf
+++ b/conf/machine/p5040ds.conf
@@ -6,7 +6,7 @@  require conf/machine/include/soc-family.inc
 
 SOC_FAMILY = "p5040"
 UBOOT_MACHINES ?= "P5040DS P5040DS_NAND P5040DS_SECURE_BOOT P5040DS_SDCARD P5040DS_SPIFLASH"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/p5040ds.dts \
+KERNEL_DEVICETREE ?= "${S}/arch/powerpc/boot/dts/p5040ds.dts \
 	${S}/arch/powerpc/boot/dts/p5040ds-usdpaa.dts"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/corenet32_smp_defconfig"
 
diff --git a/conf/machine/t4160qds-64b.conf b/conf/machine/t4160qds-64b.conf
index c504c03..944d3ad 100644
--- a/conf/machine/t4160qds-64b.conf
+++ b/conf/machine/t4160qds-64b.conf
@@ -7,7 +7,7 @@  require conf/machine/include/soc-family.inc
 SOC_FAMILY = "t4160"
 # TODO: fix 32bit build of u-boot
 UBOOT_MACHINES ?= "T4160QDS"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/t4240qds.dts \
+KERNEL_DEVICETREE ?= "${S}/arch/powerpc/boot/dts/t4240qds.dts \
 	${S}/arch/powerpc/boot/dts/t4240qds-usdpaa.dts"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/85xx/e6500rev2_defconfig"
 
diff --git a/conf/machine/t4160qds.conf b/conf/machine/t4160qds.conf
index a2e7f47..6d968c6 100644
--- a/conf/machine/t4160qds.conf
+++ b/conf/machine/t4160qds.conf
@@ -6,7 +6,7 @@  require conf/machine/include/soc-family.inc
 
 SOC_FAMILY = "t4160"
 UBOOT_MACHINES ?= "T4160QDS"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/t4240qds.dts \
+KERNEL_DEVICETREE ?= "${S}/arch/powerpc/boot/dts/t4240qds.dts \
 	${S}/arch/powerpc/boot/dts/t4240qds-usdpaa.dts"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/85xx/e6500rev2_defconfig"
 
diff --git a/conf/machine/t4240qds-64b.conf b/conf/machine/t4240qds-64b.conf
index 2a77116..2b5da64 100644
--- a/conf/machine/t4240qds-64b.conf
+++ b/conf/machine/t4240qds-64b.conf
@@ -7,7 +7,7 @@  require conf/machine/include/soc-family.inc
 SOC_FAMILY = "t4240"
 # TODO: fix 32bit build of u-boot
 UBOOT_MACHINES ?= "T4240QDS"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/t4240qds.dts \
+KERNEL_DEVICETREE ?= "${S}/arch/powerpc/boot/dts/t4240qds.dts \
 	${S}/arch/powerpc/boot/dts/t4240qds-usdpaa.dts"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/85xx/e6500rev2_defconfig"
 
diff --git a/conf/machine/t4240qds.conf b/conf/machine/t4240qds.conf
index 18bd99c..44934f1 100644
--- a/conf/machine/t4240qds.conf
+++ b/conf/machine/t4240qds.conf
@@ -6,7 +6,7 @@  require conf/machine/include/soc-family.inc
 
 SOC_FAMILY = "t4240"
 UBOOT_MACHINES ?= "T4240QDS"
-KERNEL_DEVICETREE = "${S}/arch/powerpc/boot/dts/t4240qds.dts \
+KERNEL_DEVICETREE ?= "${S}/arch/powerpc/boot/dts/t4240qds.dts \
 	${S}/arch/powerpc/boot/dts/t4240qds-usdpaa.dts"
 KERNEL_DEFCONFIG = "${S}/arch/powerpc/configs/85xx/e6500rev2_defconfig"