diff options
| author | Nathan Rossi <nathan@nathanrossi.com> | 2015-09-15 00:05:00 +1000 |
|---|---|---|
| committer | Nathan Rossi <nathan@nathanrossi.com> | 2015-09-15 00:05:00 +1000 |
| commit | 117623e4042e6a2b3fa55e21ac75b3f82df74bc3 (patch) | |
| tree | 628945256f143783175ff85d7b048853086acf63 | |
| parent | 22953dcfd6c449de20cdbcce64cd63d4df5c94de (diff) | |
| download | meta-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.inc | 2 | ||||
| -rw-r--r-- | recipes-bsp/u-boot/u-boot-elf.inc | 15 | ||||
| -rw-r--r-- | recipes-bsp/u-boot/u-boot-xlnx-dev.bb | 1 | ||||
| -rw-r--r-- | recipes-bsp/u-boot/u-boot-xlnx_2015.01.bb | 1 |
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" | |||
| 25 | UBOOT_SUFFIX_zynqmp ?= "bin" | 25 | UBOOT_SUFFIX_zynqmp ?= "bin" |
| 26 | UBOOT_BINARY ?= "u-boot.${UBOOT_SUFFIX}" | 26 | UBOOT_BINARY ?= "u-boot.${UBOOT_SUFFIX}" |
| 27 | UBOOT_BINARY_zynq ?= "u-boot-dtb.${UBOOT_SUFFIX}" | 27 | UBOOT_BINARY_zynq ?= "u-boot-dtb.${UBOOT_SUFFIX}" |
| 28 | UBOOT_ELF ?= "u-boot" | ||
| 29 | UBOOT_ELF_aarch64 ?= "u-boot.elf" | ||
| 28 | 30 | ||
| 29 | # Device Trees | 31 | # Device Trees |
| 30 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS_append_zynq += "device-tree" | 32 | MACHINE_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 | ||
| 2 | UBOOT_ELF = "u-boot" | ||
| 3 | UBOOT_ELF_aarch64 = "u-boot.elf" | ||
| 4 | UBOOT_ELF_IMAGE ?= "u-boot-${MACHINE}-${PV}-${PR}.elf" | ||
| 5 | UBOOT_ELF_BINARY ?= "u-boot.elf" | ||
| 6 | UBOOT_ELF_SYMLINK ?= "u-boot-${MACHINE}.elf" | ||
| 7 | |||
| 8 | do_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 @@ | |||
| 7 | UBRANCH ?= "master" | 7 | UBRANCH ?= "master" |
| 8 | 8 | ||
| 9 | include u-boot-xlnx.inc | 9 | include u-boot-xlnx.inc |
| 10 | include u-boot-elf.inc | ||
| 11 | include u-boot-extra.inc | 10 | include u-boot-extra.inc |
| 12 | 11 | ||
| 13 | DEPENDS += "openssl-native" | 12 | DEPENDS += "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 @@ | |||
| 1 | include u-boot-xlnx.inc | 1 | include u-boot-xlnx.inc |
| 2 | include u-boot-xlnx-2015.01.inc | 2 | include u-boot-xlnx-2015.01.inc |
| 3 | include u-boot-elf.inc | ||
| 4 | include u-boot-extra.inc | 3 | include u-boot-extra.inc |
| 5 | 4 | ||
| 6 | UBOOT_ENV_zc702-zynq7 = "uEnv" | 5 | UBOOT_ENV_zc702-zynq7 = "uEnv" |
