summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan.rossi@xilinx.com>2015-04-22 17:57:20 +1000
committerNathan Rossi <nathan.rossi@xilinx.com>2015-04-22 17:57:20 +1000
commit07c96950a30149b539e924c03d11cc235dec2962 (patch)
tree1ded2f3df2afa4ec5bca1ed20e34711986dcdd85
parent965b8e54c45b60e9d346178c8285552c3d70c28d (diff)
downloadmeta-xilinx-07c96950a30149b539e924c03d11cc235dec2962.tar.gz
arm-trusted-firmware: Add recipe for ATF
* Add recipe, currently used only for ZynqMP * Use the Xilinx specific repo for ATF, tracking the current master Signed-off-by: Nathan Rossi <nathan.rossi@xilinx.com>
-rw-r--r--recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb47
1 files changed, 47 insertions, 0 deletions
diff --git a/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb b/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb
new file mode 100644
index 00000000..8a246b08
--- /dev/null
+++ b/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb
@@ -0,0 +1,47 @@
1DESCRIPTION = "ARM Trusted Firmware"
2
3LICENSE = "BSD"
4LIC_FILES_CHKSUM = "file://license.md;md5=829bdeb34c1d9044f393d5a16c068371"
5
6PACKAGE_ARCH = "${MACHINE_ARCH}"
7
8inherit deploy
9
10S = "${WORKDIR}/git"
11
12BRANCH = "master"
13SRC_URI = "git://github.com/Xilinx/arm-trusted-firmware.git;protocol=https;branch=${BRANCH}"
14SRCREV = "1d58628d0684522df7f87464850163ab6551afe9"
15
16PV = "1.1+xilinx+git${SRCPV}"
17
18COMPATIBLE_MACHINE = "zynqmp"
19PLATFORM_zynqmp = "zynqmp"
20
21# requires CROSS_COMPILE set by hand as there is no configure script
22export CROSS_COMPILE="${TARGET_PREFIX}"
23
24# Let the Makefile handle setting up the CFLAGS and LDFLAGS as it is a standalone application
25CFLAGS[unexport] = "1"
26LDFLAGS[unexport] = "1"
27AS[unexport] = "1"
28LD[unexport] = "1"
29
30do_configure() {
31 :
32}
33
34do_compile() {
35 oe_runmake PLAT=${PLATFORM} RESET_TO_BL31=1 bl31
36}
37
38do_install() {
39 :
40}
41
42do_deploy() {
43 install -d ${DEPLOYDIR}
44 install -m 0644 ${S}/build/${PLATFORM}/release/bl31/bl31.elf ${DEPLOYDIR}/bl31-${MACHINE}.elf
45 install -m 0644 ${S}/build/${PLATFORM}/release/bl31.bin ${DEPLOYDIR}/bl31-${MACHINE}.bin
46}
47addtask deploy before do_build after do_compile