From 6a868a671472d454b407a165fc31c5f7dfe783c6 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Thu, 23 Jul 2015 16:02:25 -0300 Subject: 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 --- recipes-bsp/pkc-firmware/pkc-firmware_git.bb | 41 ++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 recipes-bsp/pkc-firmware/pkc-firmware_git.bb (limited to 'recipes-bsp/pkc-firmware/pkc-firmware_git.bb') 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 @@ +DESCRIPTION = "U-boot firmware for c293pcie support " +HOMEPAGE = "http://u-boot.sf.net" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" + +INHIBIT_DEFAULT_DEPS = "1" +DEPENDS = "virtual/${TARGET_PREFIX}gcc libgcc" + +inherit deploy + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +SRC_URI = "git://git.freescale.com/ppc/sdk/pkc-firmware.git;nobranch=1" +SRCREV = "b891873c1eea7a7d53f9472ea601712897cb17b7" + +S = "${WORKDIR}/git" + +EXTRA_OEMAKE = 'CROSS_COMPILE=${TARGET_PREFIX} CC="${TARGET_PREFIX}gcc ${TOOLCHAIN_OPTIONS}"' + +do_compile () { + unset LDFLAGS + unset CFLAGS + unset CPPFLAGS + oe_runmake C293QDS_36BIT_SDCARD +} + +do_install(){ + install -d ${D}${sysconfdir}/crypto/ + install ${S}/u-boot.bin ${D}${sysconfdir}/crypto/pkc-firmware.bin +} + +do_deploy(){ + install -d ${DEPLOYDIR}/pkc-firmware + install ${S}/u-boot.bin ${DEPLOYDIR}/pkc-firmware/pkc-firmware.bin +} + +addtask deploy after do_install + +FILES_{PN} += "/etc/crypto/pkc-firmware.bin" +COMPATIBLE_MACHINE = "(c293pcie)" + -- cgit v1.2.3-54-g00ecf