From 2afcea15db5ceae20700f7e569c79e78b1a879b6 Mon Sep 17 00:00:00 2001 From: Alex Gonzalez Date: Wed, 16 Jan 2013 16:41:23 +0100 Subject: [PATCH] meta-digi-arm: Add imx-bootlets-del recipe. This is the recipe for Digi's customized MXS bootlets code. Signed-off-by: Alex Gonzalez --- .../imx-bootlets-del/imx-bootlets-del_git.bb | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 meta-digi-arm/recipes-bsp/imx-bootlets-del/imx-bootlets-del_git.bb diff --git a/meta-digi-arm/recipes-bsp/imx-bootlets-del/imx-bootlets-del_git.bb b/meta-digi-arm/recipes-bsp/imx-bootlets-del/imx-bootlets-del_git.bb new file mode 100644 index 000000000..687e75667 --- /dev/null +++ b/meta-digi-arm/recipes-bsp/imx-bootlets-del/imx-bootlets-del_git.bb @@ -0,0 +1,35 @@ +# Copyright (C) 2012 Digi International + +DESCRIPTION = "IMX bootlets for Digi platforms" +LICENSE = "GPL-2.0" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +PR = "r0" + + +SRCREV="master" +SRC_URI = "${DIGI_MTK_GIT}del/imx-bootlets.git;" +S = "${WORKDIR}/git" + +# Disable parallel building or it may fail to build. +PARALLEL_MAKE = "" + +EXTRA_OEMAKE = "BOARD=CCARDWMX28JS CROSS_COMPILE=${TARGET_PREFIX}" + +do_install () { + install -d ${STAGING_DIR_TARGET}/boot/ + install -m 644 boot_prep/boot_prep power_prep/power_prep \ + linux_prep/output-target/linux_prep \ + uboot.bd uboot_ivt.bd linux.bd linux_ivt.bd \ + ${STAGING_DIR_TARGET}/boot + install -d ${D}/boot/ + install -m 644 boot_prep/boot_prep power_prep/power_prep \ + linux_prep/output-target/linux_prep \ + uboot.bd uboot_ivt.bd linux.bd linux_ivt.bd \ + ${D}/boot +} + +FILES_${PN} = "/boot" + +PACKAGE_ARCH = "${MACHINE_ARCH}" +COMPATIBLE_MACHINE = "(ccardxmx28js)"