summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2016-02-24 16:53:13 +1000
committerNathan Rossi <nathan@nathanrossi.com>2016-03-06 20:04:03 +1000
commite569dd145ee9f11c7268ddc0acb11461475d7078 (patch)
tree35cc84c2a7cd93503ea13caf34b28e19355d49ca
parent32c5379aa666657e7a65f0abd195f49314bb4aca (diff)
downloadmeta-xilinx-e569dd145ee9f11c7268ddc0acb11461475d7078.tar.gz
machine-xilinx-*.inc: Remove default append for 'device-tree'
* The device-tree recipe is not required for all machines or all boards, remove the default append to allow each machine to add the dependency when needed * Add the 'device-tree' as a machine RDEPEND for all machines that use the device-tree recipe to obtain the machines device tree output Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
-rw-r--r--conf/machine/include/machine-xilinx-board.inc2
-rw-r--r--conf/machine/include/machine-xilinx-default.inc3
-rw-r--r--conf/machine/kc705-trd-microblazeel.conf1
-rw-r--r--conf/machine/microzed-zynq7.conf1
-rw-r--r--conf/machine/picozed-zynq7.conf1
-rw-r--r--conf/machine/qemuzynq.conf1
6 files changed, 4 insertions, 5 deletions
diff --git a/conf/machine/include/machine-xilinx-board.inc b/conf/machine/include/machine-xilinx-board.inc
index 3447731e..ba9a36be 100644
--- a/conf/machine/include/machine-xilinx-board.inc
+++ b/conf/machine/include/machine-xilinx-board.inc
@@ -2,7 +2,5 @@
2 2
3EXTRA_IMAGEDEPENDS += "virtual/bootloader" 3EXTRA_IMAGEDEPENDS += "virtual/bootloader"
4 4
5MACHINE_ESSENTIAL_EXTRA_RDEPENDS_append_microblaze = " device-tree"
6
7IMAGE_BOOT_FILES ?= "${KERNEL_IMAGETYPE} ${UBOOT_BINARY}" 5IMAGE_BOOT_FILES ?= "${KERNEL_IMAGETYPE} ${UBOOT_BINARY}"
8 6
diff --git a/conf/machine/include/machine-xilinx-default.inc b/conf/machine/include/machine-xilinx-default.inc
index 8cfbb968..ec581c06 100644
--- a/conf/machine/include/machine-xilinx-default.inc
+++ b/conf/machine/include/machine-xilinx-default.inc
@@ -26,6 +26,3 @@ UBOOT_BINARY ?= "u-boot.${UBOOT_SUFFIX}"
26UBOOT_ELF ?= "u-boot" 26UBOOT_ELF ?= "u-boot"
27UBOOT_ELF_aarch64 ?= "u-boot.elf" 27UBOOT_ELF_aarch64 ?= "u-boot.elf"
28 28
29# By default use the device-tree recipe to generate device trees for Zynq machines
30MACHINE_ESSENTIAL_EXTRA_RDEPENDS_append_zynq = " device-tree"
31
diff --git a/conf/machine/kc705-trd-microblazeel.conf b/conf/machine/kc705-trd-microblazeel.conf
index 7bffeeb7..645ed328 100644
--- a/conf/machine/kc705-trd-microblazeel.conf
+++ b/conf/machine/kc705-trd-microblazeel.conf
@@ -22,6 +22,7 @@ MACHINE_FEATURES = ""
22USE_VT = "" 22USE_VT = ""
23SERIAL_CONSOLE = "115200 ttyS0" 23SERIAL_CONSOLE = "115200 ttyS0"
24 24
25MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree"
25MACHINE_DEVICETREE = "kc705/kc705-trd-microblazeel.dts" 26MACHINE_DEVICETREE = "kc705/kc705-trd-microblazeel.dts"
26 27
27EXTRA_IMAGEDEPENDS += "virtual/bitstream" 28EXTRA_IMAGEDEPENDS += "virtual/bitstream"
diff --git a/conf/machine/microzed-zynq7.conf b/conf/machine/microzed-zynq7.conf
index bea7c0a9..94283a81 100644
--- a/conf/machine/microzed-zynq7.conf
+++ b/conf/machine/microzed-zynq7.conf
@@ -14,6 +14,7 @@ SPL_BINARY = "boot.bin"
14 14
15SERIAL_CONSOLE = "115200 ttyPS0" 15SERIAL_CONSOLE = "115200 ttyPS0"
16 16
17MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree"
17MACHINE_DEVICETREE = "microzed/microzed-zynq7.dts" 18MACHINE_DEVICETREE = "microzed/microzed-zynq7.dts"
18 19
19IMAGE_BOOT_FILES += "boot.bin ${MACHINE}.dtb" 20IMAGE_BOOT_FILES += "boot.bin ${MACHINE}.dtb"
diff --git a/conf/machine/picozed-zynq7.conf b/conf/machine/picozed-zynq7.conf
index a57bbedc..7e851f6c 100644
--- a/conf/machine/picozed-zynq7.conf
+++ b/conf/machine/picozed-zynq7.conf
@@ -18,6 +18,7 @@ SPL_BINARY = "boot.bin"
18 18
19SERIAL_CONSOLE = "115200 ttyPS0" 19SERIAL_CONSOLE = "115200 ttyPS0"
20 20
21MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree"
21MACHINE_DEVICETREE = "picozed/picozed-zynq7.dts" 22MACHINE_DEVICETREE = "picozed/picozed-zynq7.dts"
22 23
23IMAGE_BOOT_FILES += "boot.bin ${MACHINE}.dtb" 24IMAGE_BOOT_FILES += "boot.bin ${MACHINE}.dtb"
diff --git a/conf/machine/qemuzynq.conf b/conf/machine/qemuzynq.conf
index 5c622560..c23db5da 100644
--- a/conf/machine/qemuzynq.conf
+++ b/conf/machine/qemuzynq.conf
@@ -11,6 +11,7 @@ EXTRA_IMAGEDEPENDS += "qemu-native qemu-helper-native"
11 11
12SERIAL_CONSOLE = "115200 ttyPS0" 12SERIAL_CONSOLE = "115200 ttyPS0"
13 13
14MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree"
14MACHINE_DEVICETREE = "qemu/qemuzynq.dts" 15MACHINE_DEVICETREE = "qemu/qemuzynq.dts"
15 16
16# Use the networking setup from qemuarm 17# Use the networking setup from qemuarm