summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2015-09-15 00:05:00 +1000
committerNathan Rossi <nathan@nathanrossi.com>2015-09-15 00:05:00 +1000
commit117623e4042e6a2b3fa55e21ac75b3f82df74bc3 (patch)
tree628945256f143783175ff85d7b048853086acf63
parent22953dcfd6c449de20cdbcce64cd63d4df5c94de (diff)
downloadmeta-xilinx-117623e4042e6a2b3fa55e21ac75b3f82df74bc3.tar.gz
u-boot-elf.inc: Available in oe-core, drop from layer
* Remove use of u-boot-elf.inc * Move UBOOT_ELF setting into machine-xilinx-default.inc * Remove u-boot.elf.inc Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
-rw-r--r--conf/machine/include/machine-xilinx-default.inc2
-rw-r--r--recipes-bsp/u-boot/u-boot-elf.inc15
-rw-r--r--recipes-bsp/u-boot/u-boot-xlnx-dev.bb1
-rw-r--r--recipes-bsp/u-boot/u-boot-xlnx_2015.01.bb1
4 files changed, 2 insertions, 17 deletions
diff --git a/conf/machine/include/machine-xilinx-default.inc b/conf/machine/include/machine-xilinx-default.inc
index bf789519..d4b858de 100644
--- a/conf/machine/include/machine-xilinx-default.inc
+++ b/conf/machine/include/machine-xilinx-default.inc
@@ -25,6 +25,8 @@ UBOOT_SUFFIX ?= "img"
25UBOOT_SUFFIX_zynqmp ?= "bin" 25UBOOT_SUFFIX_zynqmp ?= "bin"
26UBOOT_BINARY ?= "u-boot.${UBOOT_SUFFIX}" 26UBOOT_BINARY ?= "u-boot.${UBOOT_SUFFIX}"
27UBOOT_BINARY_zynq ?= "u-boot-dtb.${UBOOT_SUFFIX}" 27UBOOT_BINARY_zynq ?= "u-boot-dtb.${UBOOT_SUFFIX}"
28UBOOT_ELF ?= "u-boot"
29UBOOT_ELF_aarch64 ?= "u-boot.elf"
28 30
29# Device Trees 31# Device Trees
30MACHINE_ESSENTIAL_EXTRA_RDEPENDS_append_zynq += "device-tree" 32MACHINE_ESSENTIAL_EXTRA_RDEPENDS_append_zynq += "device-tree"
diff --git a/recipes-bsp/u-boot/u-boot-elf.inc b/recipes-bsp/u-boot/u-boot-elf.inc
deleted file mode 100644
index 547a9fd3..00000000
--- a/recipes-bsp/u-boot/u-boot-elf.inc
+++ /dev/null
@@ -1,15 +0,0 @@
1# U-Boot deploy ELF
2UBOOT_ELF = "u-boot"
3UBOOT_ELF_aarch64 = "u-boot.elf"
4UBOOT_ELF_IMAGE ?= "u-boot-${MACHINE}-${PV}-${PR}.elf"
5UBOOT_ELF_BINARY ?= "u-boot.elf"
6UBOOT_ELF_SYMLINK ?= "u-boot-${MACHINE}.elf"
7
8do_deploy_append() {
9 if [ ! -z "${UBOOT_ELF}" ]; then
10 install ${S}/${UBOOT_ELF} ${DEPLOYDIR}/${UBOOT_ELF_IMAGE}
11 rm -f ${DEPLOYDIR}/${UBOOT_ELF_BINARY} ${DEPLOYDIR}/${UBOOT_ELF_SYMLINK}
12 ln -sf ${UBOOT_ELF_IMAGE} ${DEPLOYDIR}/${UBOOT_ELF_BINARY}
13 ln -sf ${UBOOT_ELF_IMAGE} ${DEPLOYDIR}/${UBOOT_ELF_SYMLINK}
14 fi
15}
diff --git a/recipes-bsp/u-boot/u-boot-xlnx-dev.bb b/recipes-bsp/u-boot/u-boot-xlnx-dev.bb
index 20d3636d..823d3035 100644
--- a/recipes-bsp/u-boot/u-boot-xlnx-dev.bb
+++ b/recipes-bsp/u-boot/u-boot-xlnx-dev.bb
@@ -7,7 +7,6 @@
7UBRANCH ?= "master" 7UBRANCH ?= "master"
8 8
9include u-boot-xlnx.inc 9include u-boot-xlnx.inc
10include u-boot-elf.inc
11include u-boot-extra.inc 10include u-boot-extra.inc
12 11
13DEPENDS += "openssl-native" 12DEPENDS += "openssl-native"
diff --git a/recipes-bsp/u-boot/u-boot-xlnx_2015.01.bb b/recipes-bsp/u-boot/u-boot-xlnx_2015.01.bb
index ad0b8de7..81499125 100644
--- a/recipes-bsp/u-boot/u-boot-xlnx_2015.01.bb
+++ b/recipes-bsp/u-boot/u-boot-xlnx_2015.01.bb
@@ -1,6 +1,5 @@
1include u-boot-xlnx.inc 1include u-boot-xlnx.inc
2include u-boot-xlnx-2015.01.inc 2include u-boot-xlnx-2015.01.inc
3include u-boot-elf.inc
4include u-boot-extra.inc 3include u-boot-extra.inc
5 4
6UBOOT_ENV_zc702-zynq7 = "uEnv" 5UBOOT_ENV_zc702-zynq7 = "uEnv"