Return-Path: Received: from mail-ob0-f176.google.com (mail-ob0-f176.google.com [209.85.214.176]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 0364DE00777 for ; Mon, 10 Dec 2012 08:04:05 -0800 (PST) Received: by mail-ob0-f176.google.com with SMTP id un3so2833104obb.35 for ; Mon, 10 Dec 2012 08:04:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=onxT8DVkIyKzO0DklDzRCyvDyqeEHc7ItIGxHQvUC1c=; b=MMnDlNhLuF22lvEZ2RHCrbE4HnCPBm3HEegSVZE8LOMuESn3q0EWCghvSanF0+tkO/ PiEhsVFxjG947t7eOoM0BErXKryboSCV8p832jTbe7dKxWbwREN/LrcWh6wPz7vElt5n +egNcOTrUpgILpBFwdNe9FCHG5K0LvXn8JGRDFDsV3mBMm3xc8mjYXLDAcnyiuh0A41u WxrWt75Q0MzcK2CUvpBaMN6U9tFfIMDbtV3dip37AeM+9CikqSixuA1XIrJcYydPuGSS EtfNMhf+X+wOIq8A7sjpRGF7LXea3fZE2DKR43/+blgan/D/845lk0bCHdUCPVpaJl0U NDBw== Received: by 10.60.172.113 with SMTP id bb17mr8008313oec.110.1355155445837; Mon, 10 Dec 2012 08:04:05 -0800 (PST) Received: from nano.lab.ossystems.com.br.lab.ossystems.com.br ([187.23.153.69]) by mx.google.com with ESMTPS id c4sm6026495oee.0.2012.12.10.08.04.03 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 10 Dec 2012 08:04:05 -0800 (PST) Sender: Otavio Salvador From: Otavio Salvador To: meta-freescale@yoctoproject.org Date: Mon, 10 Dec 2012 14:06:37 -0200 Message-Id: <1355155599-11150-3-git-send-email-otavio@ossystems.com.br> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1355155599-11150-1-git-send-email-otavio@ossystems.com.br> References: <1355155599-11150-1-git-send-email-otavio@ossystems.com.br> Cc: Otavio Salvador Subject: [meta-fsl-arm-extra][PATCH 2/3] u-boot-script-boundary: Add recipe to deploy the boot scripts X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Dec 2012 16:04:06 -0000 The recipe deploys the scripts used by Boundary Devices to detect and choose video output, load kernel and etc... Change-Id: Ic4685c60ba1470a1548629e294ea8aa48473cd0e Signed-off-by: Otavio Salvador --- recipes-bsp/u-boot/u-boot-script-boundary_git.bb | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 recipes-bsp/u-boot/u-boot-script-boundary_git.bb diff --git a/recipes-bsp/u-boot/u-boot-script-boundary_git.bb b/recipes-bsp/u-boot/u-boot-script-boundary_git.bb new file mode 100644 index 0000000..6b2591a --- /dev/null +++ b/recipes-bsp/u-boot/u-boot-script-boundary_git.bb @@ -0,0 +1,37 @@ +LICENSE = "GPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" +COMPATIBLE_MACHINE = "(imx6qsabrelite|nitrogen6x)" + +PV = "v2013.01+git${SRCPV}" + +SRCREV = "d6b05d35b8b29392e71fdd8fa43d5cb8bd4fe276" +SRC_URI = "git://github.com/boundarydevices/u-boot-imx6.git" + +S = "${WORKDIR}/git" + +inherit deploy + +do_compile () { + : +} + +do_install () { + : +} + +do_deploy () { + install -d ${DEPLOYDIR} + install ${S}/board/boundary/nitrogen6x/6x_bootscript.txt \ + ${DEPLOYDIR}/6x_bootscript-${MACHINE}-${PV}-${PR}.txt + install ${S}/board/boundary/nitrogen6x/6x_upgrade.txt \ + ${DEPLOYDIR}/6x_upgrade-${MACHINE}-${PV}-${PR}.txt + + cd ${DEPLOYDIR} + rm -f 6x_bootscript-${MACHINE}.txt 6x_upgrade-${MACHINE}.txt + ln -sf 6x_bootscript-${MACHINE}-${PV}-${PR}.txt 6x_bootscript-${MACHINE}.txt + ln -sf 6x_upgrade-${MACHINE}-${PV}-${PR}.txt 6x_upgrade-${MACHINE}.txt +} + +addtask deploy before do_build after do_compile + +PACKAGE_ARCH = "${MACHINE_ARCH}" -- 1.7.10.4