From: Denys Dmytriyenko <denys@ti.com>
To: <fcooperjr27@gmail.com>
Cc: meta-arago@arago-project.org, "Franklin S. Cooper Jr" <fcooper@ti.com>
Subject: Re: [PATCH 17/18] tisdk-image: Add support for new toolchain sdk structure
Date: Fri, 15 Feb 2013 17:27:14 -0500 [thread overview]
Message-ID: <20130215222713.GC26343@edge> (raw)
In-Reply-To: <1360629979-24789-17-git-send-email-fcooper@ti.com>
On Mon, Feb 11, 2013 at 06:46:18PM -0600, fcooperjr27@gmail.com wrote:
> From: Franklin S. Cooper Jr <fcooper@ti.com>
>
> * Previous the toolchain sdk was delivered as a simple tar.gz file that
> could be extracted.
> * Now the toolchain sdk needs to be installed via a self contained script
> installer that provides alot more flexibility.
> * Need to tweak this class to reflect this change.
>
> Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
> ---
> meta-arago-distro/classes/tisdk-image.bbclass | 18 ++++++++++++++++++
> 1 files changed, 18 insertions(+), 0 deletions(-)
>
> diff --git a/meta-arago-distro/classes/tisdk-image.bbclass b/meta-arago-distro/classes/tisdk-image.bbclass
> index c2f93e2..b08f93b 100644
> --- a/meta-arago-distro/classes/tisdk-image.bbclass
> +++ b/meta-arago-distro/classes/tisdk-image.bbclass
> @@ -478,6 +478,11 @@ do_sdk_image () {
>
> mkdir -p ${IMAGE_ROOTFS}/etc
>
> + chmod 755 ${DEPLOY_DIR}/sdk/${SDK_NAME}-${ARMPKGARCH}-${TARGET_OS}-tisdk-${SDK_ARCH}*
> +
> + # Temporarily extract the toolchain sdk so we can read license information from it.
> + echo "${IMAGE_ROOTFS}/${TISDK_TOOLCHAIN_PATH}" | ${DEPLOY_DIR}/sdk/${SDK_NAME}-${ARMPKGARCH}-${TARGET_OS}-tisdk-${SDK_ARCH}*
Why not use -y and -d path?
${DEPLOY_DIR}/sdk/${SDK_NAME}-${ARMPKGARCH}-${TARGET_OS}-tisdk-${SDK_ARCH}* -y -d "${IMAGE_ROOTFS}/${TISDK_TOOLCHAIN_PATH}"
> # Creat the base SDK image
> rootfs_${IMAGE_PKGTYPE}_do_rootfs
>
> @@ -562,6 +567,14 @@ do_sdk_image () {
> # Create the TI software manifest
> generate_sw_manifest
>
> + # Delete installed toolchain sdk since we need the toolchain sdk installer
> + # not the extracted version
> + rm -rf ${IMAGE_ROOTFS}/${TISDK_TOOLCHAIN_PATH}
> +
> + # Copy over the toolchain sdk installer an give it a simple name which
> + # matches the traditional name within the SDK.
> + cp ${DEPLOY_DIR}/sdk/${SDK_NAME}-${ARMPKGARCH}-${TARGET_OS}-tisdk-${SDK_ARCH}* ${IMAGE_ROOTFS}/linux-devkit.sh
> +
> # Copy the opkg.conf used by the image to allow for future updates
> cp ${WORKDIR}/opkg.conf ${IMAGE_ROOTFS}/etc/
>
> @@ -574,6 +587,11 @@ do_sdk_image () {
> ${@get_imagecmds(d)}
> }
>
> +license_create_manifest() {
> + # Override license_create_manifest and do nothing
> + echo ""
Usually you'd use colon ":" for noop command:
blah() {
:
}
> +}
> +
> EXPORT_FUNCTIONS do_sdk_image
> addtask sdk_image before do_build after do_install
>
> --
> 1.7.0.4
>
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
next prev parent reply other threads:[~2013-02-15 22:27 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-12 0:46 [PATCH 01/18] linux-libc-headers: Add linux-libc-headers version 2.6.37.2 fcooperjr27
2013-02-12 0:46 ` [PATCH 02/18] ti-tisdk-makefile: Switch from ARMPKGARCH to PLATFORM_ARCH fcooperjr27
2013-02-12 0:46 ` [PATCH 03/18] arm-benchmarks_1.3: Tweak to allow am180x-evm to be built fcooperjr27
2013-02-12 0:46 ` [PATCH 04/18] sourceipk.bbclass: Provide the ability to change the source directory fcooperjr27
2013-02-12 0:46 ` [PATCH 05/18] ti-crypto-examples: Add ARM9 support fcooperjr27
2013-02-12 0:46 ` [PATCH 06/18] ti-crypto-examples: Tweak SRCIPK_SRC_DIR variable fcooperjr27
2013-02-12 0:46 ` [PATCH 07/18] arago.conf: Add SUPPORTS_SGX variable fcooperjr27
2013-02-15 3:39 ` Denys Dmytriyenko
2013-02-15 3:46 ` Cooper Jr., Franklin
2013-02-16 0:26 ` Paul Kovitz
2013-02-18 15:14 ` Cooper Jr., Franklin
2013-02-18 17:43 ` Denys Dmytriyenko
2013-02-18 18:34 ` Cooper Jr., Franklin
2013-02-12 0:46 ` [PATCH 08/18] recipes: Only pull in SGX related tasks if SUPPORTS_SGX is set to YES fcooperjr27
2013-02-12 0:46 ` [PATCH 09/18] tisdk-image.bbclass: Create SECONDARY_BOOTLOADER_NAME variable fcooperjr27
2013-02-12 0:46 ` [PATCH 10/18] arago-amsdk-image: Set SECONDARY_BOOTLOADER_NAME to empty string for omapl138 fcooperjr27
2013-02-12 0:46 ` [PATCH 11/18] tisdk-amsdk-sdk-host: Add flash utility to SDK fcooperjr27
2013-02-12 0:46 ` [PATCH 12/18] arago-tisdk-amsdk-sdk-host: Use generic name for kernel sources fcooperjr27
2013-02-15 3:42 ` Denys Dmytriyenko
2013-02-15 3:54 ` Cooper Jr., Franklin
2013-02-17 20:35 ` Denys Dmytriyenko
2013-02-17 21:07 ` Cooper Jr., Franklin
2013-02-17 21:29 ` Maupin, Chase
2013-02-17 21:35 ` Denys Dmytriyenko
2013-02-17 21:46 ` Maupin, Chase
2013-02-12 0:46 ` [PATCH 13/18] board-port-labs: Inherit allarch class fcooperjr27
2013-02-12 0:46 ` [PATCH 14/18] meta-toolchain-arago: Add cleanup_toolchain_packages fcooperjr27
2013-02-12 0:46 ` [PATCH 15/18] meta-toolchain-arago-tisdk: Set TOOLCHAIN_CLEANUP_PACKAGES fcooperjr27
2013-02-12 0:46 ` [PATCH 16/18] tisdk-image: Remove toolchain cleanup functionality fcooperjr27
2013-02-12 0:46 ` [PATCH 17/18] tisdk-image: Add support for new toolchain sdk structure fcooperjr27
2013-02-15 22:27 ` Denys Dmytriyenko [this message]
2013-02-12 0:46 ` [PATCH 18/18] sdk_rootfs_ipk: Pull in rootfs_ipk.bbclass from oe-core denzil fcooperjr27
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20130215222713.GC26343@edge \
--to=denys@ti.com \
--cc=fcooper@ti.com \
--cc=fcooperjr27@gmail.com \
--cc=meta-arago@arago-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.