From: Denys Dmytriyenko <denys@ti.com>
To: Jacob Stiffler <j-stiffler@ti.com>
Cc: meta-arago@arago-project.org
Subject: Re: [PATCH 5/5] ti-tisdk-makefile: Add debugss-module-drv makefile fragment.
Date: Fri, 29 May 2015 16:02:10 -0400 [thread overview]
Message-ID: <20150529200210.GW16418@edge> (raw)
In-Reply-To: <1432811095-3754-6-git-send-email-j-stiffler@ti.com>
Ack
On Thu, May 28, 2015 at 07:04:55AM -0400, Jacob Stiffler wrote:
> Signed-off-by: Jacob Stiffler <j-stiffler@ti.com>
> ---
> .../ti-tisdk-makefile/Makefile_debugss-module-drv | 29 ++++++++++++++++++++
> .../ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb | 11 ++++++--
> 2 files changed, 38 insertions(+), 2 deletions(-)
> create mode 100644 meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_debugss-module-drv
>
> diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_debugss-module-drv b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_debugss-module-drv
> new file mode 100644
> index 0000000..fde7aca
> --- /dev/null
> +++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_debugss-module-drv
> @@ -0,0 +1,29 @@
> +debugss-module-drv: linux
> + @echo =======================================
> + @echo Building debugss-module-drv
> + @echo =======================================
> + @cd board-support/extra-drivers; \
> + cd `find . -maxdepth 1 -name "debugss*"`; \
> + make ARCH=arm KERNEL_SRC=$(LINUXKERNEL_INSTALL_DIR) PLATFORM=__PLATFORM_DEBUGSS__
> +
> +debugss-module-drv_clean:
> + @echo =======================================
> + @echo Cleaning debugss-module-drv
> + @echo =======================================
> + @cd board-support/extra-drivers; \
> + cd `find . -maxdepth 1 -name "debugss*"`; \
> + make ARCH=arm KERNEL_SRC=$(LINUXKERNEL_INSTALL_DIR) PLATFORM=__PLATFORM_DEBUGSS__ clean
> +
> +debugss-module-drv_install:
> + @echo =======================================
> + @echo Installing debugss-module-drv
> + @echo =======================================
> + @if [ ! -d $(DESTDIR) ] ; then \
> + echo "The extracted target filesystem directory doesn't exist."; \
> + echo "Please run setup.sh in the SDK's root directory and then try again."; \
> + exit 1; \
> + fi
> + @cd board-support/extra-drivers; \
> + cd `find . -maxdepth 1 -name "debugss*"`; \
> + make ARCH=arm KERNEL_SRC=$(LINUXKERNEL_INSTALL_DIR) INSTALL_MOD_PATH=$(DESTDIR) PREFIX=$(SDK_PATH_TARGET) PLATFORM=__PLATFORM_DEBUGSS__ modules_install
> +
> diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
> index eedf097..aaaa173 100644
> --- a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
> +++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
> @@ -36,9 +36,10 @@ SRC_URI = "\
> file://Makefile_cryptodev \
> file://Makefile_sgx-modules \
> file://Makefile_cmem-mod \
> + file://Makefile_debugss-module-drv \
> "
>
> -PR = "r46"
> +PR = "r47"
>
> MAKEFILES_COMMON = "linux \
> matrix-gui \
> @@ -84,7 +85,9 @@ MAKEFILES_append_ti43x = " u-boot-spl \
> image-gallery \
> "
>
> -MAKEFILES_append_dra7xx = " cryptodev"
> +MAKEFILES_append_dra7xx = " cryptodev \
> + debugss-module-drv \
> +"
>
> MAKEFILES_append_omap-a15 = " u-boot-spl \
> ${QUICK_PLAYGROUND} \
> @@ -104,6 +107,9 @@ PLATFORM_SGX = ""
> PLATFORM_SGX_ti33x = "ti335x"
> PLATFORM_SGX_ti43x = "ti43xx"
>
> +PLATFORM_DEBUGSS = ""
> +PLATFORM_DEBUGSS_dra7xx = "DRA7xx_PLATFORM"
> +
> KERNEL_BUILD_CMDS = "${@base_conditional('KERNEL_IMAGETYPE','uImage','LOADADDR=${UBOOT_LOADADDRESS} uImage','zImage',d)}"
>
> KERNEL_DEVICETREE_ti33x = "am335x-evm.dtb am335x-evmsk.dtb am335x-bone.dtb am335x-boneblack.dtb"
> @@ -160,6 +166,7 @@ do_install () {
> sed -i -e "s/__KERNEL_BUILD_CMDS__/${KERNEL_BUILD_CMDS}/" ${D}/Makefile
>
> sed -i -e "s/__PLATFORM_SGX__/${PLATFORM_SGX}/" ${D}/Makefile
> + sed -i -e "s/__PLATFORM_DEBUGSS__/${PLATFORM_DEBUGSS}/g" ${D}/Makefile
>
> cat ${D}/Makefile | grep "__DTB_DEPEND__" > /dev/null
>
> --
> 1.7.9.5
>
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
prev parent reply other threads:[~2015-05-29 20:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-28 11:04 [PATCH 0/5] Add dsptop to SDK Jacob Stiffler
2015-05-28 11:04 ` [PATCH 1/5] packagegroups/packagegroup-arago-tisdk-addons_dra7xx: Add dsptop Jacob Stiffler
2015-05-29 20:00 ` Denys Dmytriyenko
2015-05-28 11:04 ` [PATCH 2/5] packagegroup-arago-tisdk-addons-sdk-target_dra7xx: Add libulm Jacob Stiffler
2015-05-29 20:01 ` Denys Dmytriyenko
2015-05-28 11:04 ` [PATCH 3/5] arago-source-ipk: Enable debugss-module-drv source ipk Jacob Stiffler
2015-05-29 20:01 ` Denys Dmytriyenko
2015-05-28 11:04 ` [PATCH 4/5] packagegroup-arago-tisdk-addons-sdk-host_dra7xx: Add debugss-module-drv-src Jacob Stiffler
2015-05-29 20:01 ` Denys Dmytriyenko
2015-05-28 11:04 ` [PATCH 5/5] ti-tisdk-makefile: Add debugss-module-drv makefile fragment Jacob Stiffler
2015-05-29 20:02 ` Denys Dmytriyenko [this message]
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=20150529200210.GW16418@edge \
--to=denys@ti.com \
--cc=j-stiffler@ti.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.