diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2015-07-23 16:02:25 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2015-07-28 23:26:59 -0300 |
commit | 6a868a671472d454b407a165fc31c5f7dfe783c6 (patch) | |
tree | 7bd2ab13a04d14215264cc992501970cacfb20ef /recipes-bsp/pkc-firmware/pkc-firmware_git.bb | |
parent | 62e212fe4812a6c726df4ac8e77d4a77e0e54247 (diff) | |
download | meta-freescale-6a868a671472d454b407a165fc31c5f7dfe783c6.tar.gz |
Move meta-fsl-ppc content to layer root
This commit is just a rename of all contents of meta-fsl-ppc
subdirectory to this layer's root, merging the contents of common
files, subsequent changes are based on top of that.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-bsp/pkc-firmware/pkc-firmware_git.bb')
-rw-r--r-- | recipes-bsp/pkc-firmware/pkc-firmware_git.bb | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/recipes-bsp/pkc-firmware/pkc-firmware_git.bb b/recipes-bsp/pkc-firmware/pkc-firmware_git.bb new file mode 100644 index 00000000..3cc5d446 --- /dev/null +++ b/recipes-bsp/pkc-firmware/pkc-firmware_git.bb | |||
@@ -0,0 +1,41 @@ | |||
1 | DESCRIPTION = "U-boot firmware for c293pcie support " | ||
2 | HOMEPAGE = "http://u-boot.sf.net" | ||
3 | LICENSE = "GPLv2" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" | ||
5 | |||
6 | INHIBIT_DEFAULT_DEPS = "1" | ||
7 | DEPENDS = "virtual/${TARGET_PREFIX}gcc libgcc" | ||
8 | |||
9 | inherit deploy | ||
10 | |||
11 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
12 | |||
13 | SRC_URI = "git://git.freescale.com/ppc/sdk/pkc-firmware.git;nobranch=1" | ||
14 | SRCREV = "b891873c1eea7a7d53f9472ea601712897cb17b7" | ||
15 | |||
16 | S = "${WORKDIR}/git" | ||
17 | |||
18 | EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}"' | ||
19 | |||
20 | do_compile () { | ||
21 | unset LDFLAGS | ||
22 | unset CFLAGS | ||
23 | unset CPPFLAGS | ||
24 | oe_runmake C293QDS_36BIT_SDCARD | ||
25 | } | ||
26 | |||
27 | do_install(){ | ||
28 | install -d ${D}${sysconfdir}/crypto/ | ||
29 | install ${S}/u-boot.bin ${D}${sysconfdir}/crypto/pkc-firmware.bin | ||
30 | } | ||
31 | |||
32 | do_deploy(){ | ||
33 | install -d ${DEPLOYDIR}/pkc-firmware | ||
34 | install ${S}/u-boot.bin ${DEPLOYDIR}/pkc-firmware/pkc-firmware.bin | ||
35 | } | ||
36 | |||
37 | addtask deploy after do_install | ||
38 | |||
39 | FILES_{PN} += "/etc/crypto/pkc-firmware.bin" | ||
40 | COMPATIBLE_MACHINE = "(c293pcie)" | ||
41 | |||