Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 7B1EBE008AE; Wed, 28 Oct 2015 21:35:44 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_LOW, SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [178.209.48.109 listed in list.dnswl.org] * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mail.kmu-office.ch (mail.kmu-office.ch [178.209.48.109]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 291D0E007FE for ; Wed, 28 Oct 2015 21:35:39 -0700 (PDT) Received: from localhost.localdomain (unknown [IPv6:2601:602:8b00:ffde:ad4:cff:fe03:1df8]) by mail.kmu-office.ch (Postfix) with ESMTPSA id 2D2475C1362; Thu, 29 Oct 2015 05:35:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=agner.ch; s=dkim; t=1446093333; bh=tweNcYlMOxtuSrfWTr6cKOzyqfUjR1utuVMoXY/D1DQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JRENgJG87Egjf21AAXTL+UHmZ0nYMzTL6UAxoM+unDmLltGUx4E8jo7UlOmYzJgDL /ZpYm6gxkEul20Sm2ARlNGLjujGVqD9JddyCHq5BoCvzxS0Y8x0FoZEKibH6GW8mIF T+xQjo99rVZSlqfMiiUgwVrbZGocXt10Mim7PDPI= From: Stefan Agner To: meta-freescale@yoctoproject.org Date: Wed, 28 Oct 2015 21:36:08 -0700 Message-Id: <1446093368-4796-2-git-send-email-stefan@agner.ch> X-Mailer: git-send-email 2.6.2 In-Reply-To: <1446093368-4796-1-git-send-email-stefan@agner.ch> References: <1446093368-4796-1-git-send-email-stefan@agner.ch> Cc: Stefan Agner Subject: [meta-fsl-arm-extra][PATCH 2/2] mqxboot: Add mqxboot version 1 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: Thu, 29 Oct 2015 04:35:44 -0000 From: Stefan Agner Like libmcc v1, move mqxboot 1.0 to meta-fsl-arm-extra. Also add it to the preferred version for the colibri-vf machine. The library has a distinct name (libmcc vs. libmcc2) and hence does not need to be selected explicitly. Signed-off-by: Stefan Agner --- Hi Otavio, I did not add PACKAGE_ARCH to this one as I am not sure if it is a good idea when there is a second package with the same name around. Also, I think it should compile fine as it depends on libmcc (and libmcc v2 is named libmcc2...) -- Stefan conf/machine/colibri-vf.conf | 1 + recipes-bsp/mqxboot/mqxboot_1.0.bb | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 recipes-bsp/mqxboot/mqxboot_1.0.bb diff --git a/conf/machine/colibri-vf.conf b/conf/machine/colibri-vf.conf index 2c39b5b..917a344 100644 --- a/conf/machine/colibri-vf.conf +++ b/conf/machine/colibri-vf.conf @@ -20,6 +20,7 @@ PREFERRED_PROVIDER_u-boot = "u-boot-toradex" PREFERRED_PROVIDER_virtual/bootloader = "u-boot-toradex" PREFERRED_PROVIDER_virtual/kernel-module-mcc = "kernel-module-mcc-toradex" PREFERRED_PROVIDER_virtual/kernel-module-mcc-dev = "kernel-module-mcc-toradex" +PREFERRED_VERSION_mqxboot = "1.0" # U-Boot NAND binary includes 0x400 padding required for NAND boot UBOOT_BINARY = "u-boot-nand.imx" diff --git a/recipes-bsp/mqxboot/mqxboot_1.0.bb b/recipes-bsp/mqxboot/mqxboot_1.0.bb new file mode 100644 index 0000000..7f11a98 --- /dev/null +++ b/recipes-bsp/mqxboot/mqxboot_1.0.bb @@ -0,0 +1,23 @@ +# Copyright (C) 2013 Timesys Corporation +SUMMARY = "MQX Image loader - starts an MQX image on the M4" +LICENSE = "GPL-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=c49712341497d0b5f2e40c30dff2af9d" + +DEPENDS = "virtual/kernel-module-mcc" + +SRC_URI = "http://repository.timesys.com/buildsources/m/mqxboot/mqxboot-${PV}/mqxboot-${PV}.tar.bz2" + +SRC_URI[md5sum] = "3de3c8b5f8cd6664870587d29c04c421" +SRC_URI[sha256sum] = "c2f66ae962fe2529578d5c007e3f91a36085b714a0ea276f47bc3aea90e69699" + +S = "${WORKDIR}/mqxboot-${PV}" + +CFLAGS += "-I${STAGING_KERNEL_DIR}/include" + +RDEPENDS_${PN} = "virtual/kernel-module-mcc" + +COMPATIBLE_MACHINE = "(vf60)" + +do_install() { + oe_runmake 'DESTDIR=${D}' install +} -- 2.6.2