Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 942B7E00B2F; Tue, 20 Jun 2017 16:20:12 -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.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -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 * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [198.47.19.17 listed in list.dnswl.org] Received: from fllnx210.ext.ti.com (fllnx210.ext.ti.com [198.47.19.17]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 62F4FE00B01 for ; Tue, 20 Jun 2017 16:20:08 -0700 (PDT) Received: from dflxv15.itg.ti.com ([128.247.5.124]) by fllnx210.ext.ti.com (8.15.1/8.15.1) with ESMTP id v5KNK807028446 for ; Tue, 20 Jun 2017 18:20:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1498000808; bh=kuR/Q3+hgkCtTGuFdxa824i+9r87xXYpRhT5ldaEpmQ=; h=From:To:Subject:Date; b=IUV3chnLNQBqJ3R6WA0gbXEcvBHS8p2lC1kOAYGnCy49gPCR0TJ/tuJZZ5pjAmF5w XKuvkhkfaGHm+GxgOVLIEGB4sWTh7l6M0aQO68BK3lI6a+KZMWn1Th3lxjqj/th1JO qpFVXE90xU2OwD5hrulD95ehTt7MLO9MYB3Uq42M= Received: from DFLE72.ent.ti.com (dfle72.ent.ti.com [128.247.5.109]) by dflxv15.itg.ti.com (8.14.3/8.13.8) with ESMTP id v5KNK8t6022575 for ; Tue, 20 Jun 2017 18:20:08 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DFLE72.ent.ti.com (128.247.5.109) with Microsoft SMTP Server id 14.3.294.0; Tue, 20 Jun 2017 18:20:07 -0500 Received: from uda0868762.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id v5KNK7xH022831 for ; Tue, 20 Jun 2017 18:20:07 -0500 From: Ivan Pang To: Date: Tue, 20 Jun 2017 18:20:07 -0500 Message-ID: <1498000807-27397-1-git-send-email-i-pang@ti.com> X-Mailer: git-send-email 1.9.1 MIME-Version: 1.0 Subject: [PATCH v3] starterware-rtos: added recipe for RTOS starterware X-BeenThere: meta-ti@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-ti layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2017 23:20:12 -0000 Content-Type: text/plain Signed-off-by: Ivan Pang --- recipes-bsp/starterware/starterware-rtos_git.bb | 48 +++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 recipes-bsp/starterware/starterware-rtos_git.bb diff --git a/recipes-bsp/starterware/starterware-rtos_git.bb b/recipes-bsp/starterware/starterware-rtos_git.bb new file mode 100644 index 0000000..5584cb2 --- /dev/null +++ b/recipes-bsp/starterware/starterware-rtos_git.bb @@ -0,0 +1,48 @@ +LICENSE = "BSD-3-Clause" +LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=35;md5=286cbb5dce3e348294b6b025cff969b3" + +COMPATIBLE_MACHINE = "ti33x|ti43x" +DEPENDS = "gcc-arm-none-eabi-native" + +require recipes-ti/includes/ti-paths.inc + +PACKAGE_ARCH = "${MACHINE_ARCH}" + +STARTERWARE_GIT_URI = "git://git.ti.com/keystone-rtos/starterware.git" +STARTERWARE_GIT_PROTOCOL = "git" +STARTERWARE_GIT_BRANCH = "master" + +# Below commit ID corresponds to "DEV.STARTERWARE.PROCSDK.02.01.01.03A" +STARTERWARE_SRCREV = "08f65ae3d5ccd19fbaf36040a99de971b685d144" + +BRANCH = "${STARTERWARE_GIT_BRANCH}" +SRC_URI = "${STARTERWARE_GIT_URI};protocol=${STARTERWARE_GIT_PROTOCOL};branch=${BRANCH}" + +SRCREV = "${STARTERWARE_SRCREV}" +PV = "02.01.01.03A" +PR = "r0" + +S = "${WORKDIR}/git" + +PARTNO_ti33x = "am335x" +PARTNO_ti43x = "am437x" + +export TOOLCHAIN_PATH_A8 = "${GCC_ARM_NONE_TOOLCHAIN}" +export TOOLCHAIN_PATH_A9 = "${GCC_ARM_NONE_TOOLCHAIN}" + +do_compile() { + cd build + ./release_${PARTNO}.sh +} + +do_install() { + install -d ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/starterware + find -name "*.tar" -exec tar xf {} --no-same-owner -C ${D}${PDK_INSTALL_DIR_RECIPE}/packages/ti/starterware \; +} + +FILES_${PN} += "${PDK_INSTALL_DIR_RECIPE}/packages" + +INHIBIT_PACKAGE_STRIP = "1" +INHIBIT_SYSROOT_STRIP = "1" +INHIBIT_PACKAGE_DEBUG_SPLIT = "1" +INSANE_SKIP_${PN} = "arch staticdev" -- 1.9.1