diff options
| author | Nathan Rossi <nathan@nathanrossi.com> | 2016-02-24 16:53:13 +1000 |
|---|---|---|
| committer | Nathan Rossi <nathan@nathanrossi.com> | 2016-03-06 20:04:03 +1000 |
| commit | e569dd145ee9f11c7268ddc0acb11461475d7078 (patch) | |
| tree | 35cc84c2a7cd93503ea13caf34b28e19355d49ca /conf | |
| parent | 32c5379aa666657e7a65f0abd195f49314bb4aca (diff) | |
| download | meta-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>
Diffstat (limited to 'conf')
| -rw-r--r-- | conf/machine/include/machine-xilinx-board.inc | 2 | ||||
| -rw-r--r-- | conf/machine/include/machine-xilinx-default.inc | 3 | ||||
| -rw-r--r-- | conf/machine/kc705-trd-microblazeel.conf | 1 | ||||
| -rw-r--r-- | conf/machine/microzed-zynq7.conf | 1 | ||||
| -rw-r--r-- | conf/machine/picozed-zynq7.conf | 1 | ||||
| -rw-r--r-- | conf/machine/qemuzynq.conf | 1 |
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 | ||
| 3 | EXTRA_IMAGEDEPENDS += "virtual/bootloader" | 3 | EXTRA_IMAGEDEPENDS += "virtual/bootloader" |
| 4 | 4 | ||
| 5 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS_append_microblaze = " device-tree" | ||
| 6 | |||
| 7 | IMAGE_BOOT_FILES ?= "${KERNEL_IMAGETYPE} ${UBOOT_BINARY}" | 5 | IMAGE_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}" | |||
| 26 | UBOOT_ELF ?= "u-boot" | 26 | UBOOT_ELF ?= "u-boot" |
| 27 | UBOOT_ELF_aarch64 ?= "u-boot.elf" | 27 | UBOOT_ELF_aarch64 ?= "u-boot.elf" |
| 28 | 28 | ||
| 29 | # By default use the device-tree recipe to generate device trees for Zynq machines | ||
| 30 | MACHINE_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 = "" | |||
| 22 | USE_VT = "" | 22 | USE_VT = "" |
| 23 | SERIAL_CONSOLE = "115200 ttyS0" | 23 | SERIAL_CONSOLE = "115200 ttyS0" |
| 24 | 24 | ||
| 25 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree" | ||
| 25 | MACHINE_DEVICETREE = "kc705/kc705-trd-microblazeel.dts" | 26 | MACHINE_DEVICETREE = "kc705/kc705-trd-microblazeel.dts" |
| 26 | 27 | ||
| 27 | EXTRA_IMAGEDEPENDS += "virtual/bitstream" | 28 | EXTRA_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 | ||
| 15 | SERIAL_CONSOLE = "115200 ttyPS0" | 15 | SERIAL_CONSOLE = "115200 ttyPS0" |
| 16 | 16 | ||
| 17 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree" | ||
| 17 | MACHINE_DEVICETREE = "microzed/microzed-zynq7.dts" | 18 | MACHINE_DEVICETREE = "microzed/microzed-zynq7.dts" |
| 18 | 19 | ||
| 19 | IMAGE_BOOT_FILES += "boot.bin ${MACHINE}.dtb" | 20 | IMAGE_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 | ||
| 19 | SERIAL_CONSOLE = "115200 ttyPS0" | 19 | SERIAL_CONSOLE = "115200 ttyPS0" |
| 20 | 20 | ||
| 21 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree" | ||
| 21 | MACHINE_DEVICETREE = "picozed/picozed-zynq7.dts" | 22 | MACHINE_DEVICETREE = "picozed/picozed-zynq7.dts" |
| 22 | 23 | ||
| 23 | IMAGE_BOOT_FILES += "boot.bin ${MACHINE}.dtb" | 24 | IMAGE_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 | ||
| 12 | SERIAL_CONSOLE = "115200 ttyPS0" | 12 | SERIAL_CONSOLE = "115200 ttyPS0" |
| 13 | 13 | ||
| 14 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "device-tree" | ||
| 14 | MACHINE_DEVICETREE = "qemu/qemuzynq.dts" | 15 | MACHINE_DEVICETREE = "qemu/qemuzynq.dts" |
| 15 | 16 | ||
| 16 | # Use the networking setup from qemuarm | 17 | # Use the networking setup from qemuarm |
