From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2 1/5] package/ti-sgx-km: new package
Date: Thu, 14 Jul 2016 10:39:07 +0200 [thread overview]
Message-ID: <20160714103907.525542b8@free-electrons.com> (raw)
In-Reply-To: <1468440819-13434-1-git-send-email-lothar.felten@gmail.com>
Hello,
Thanks for the respin. Looks much better! There are a few things that
remain.
On Wed, 13 Jul 2016 22:13:35 +0200, Lothar Felten wrote:
> +# This correpsonds to SDK 02.00.00.00
> +TI_SGX_KM_VERSION = 2b7523d07a13ab704a24a7664749551f4a13ed32
> +TI_SGX_KM_SITE = http://git.ti.com/graphics/omap5-sgx-ddk-linux.git
> +TI_SGX_KM_LICENSE = GPLv2 License
Just "GPLv2".
> +TI_SGX_KM_LICENSE_FILES = GPL-COPYING
> +
> +TI_SGX_KM_DEPENDENCIES = linux
> +
> +TI_SGX_KM_MAKE_OPTS = \
> + $(LINUX_MAKE_FLAGS) \
> + ARCH=arm \
ARCH is already in LINUX_MAKE_FLAGS.
> + KERNELDIR=$(LINUX_DIR) \
> + DISCIMAGE=$(TARGET_DIR) \
Why do you set DISCIMAGE here? It is nicer to only set is in the target
installation command, as it's only needed here.
> + PVR_NULLDRM=1
> +
> +ifeq ($(BR2_PACKAGE_TI_SGX_AM335X),y)
> +TI_SGX_KM_PLATFORM_NAME = omap335x
> +else ifeq ($(BR2_PACKAGE_TI_SGX_AM437X),y)
> +TI_SGX_KM_PLATFORM_NAME = omap437x
> +else ifeq ($(BR2_PACKAGE_TI_SGX_AM4430),y)
> +TI_SGX_KM_PLATFORM_NAME = omap4430
> +else ifeq ($(BR2_PACKAGE_TI_SGX_5430),y)
> +TI_SGX_KM_PLATFORM_NAME = omap5430
> +endif
> +
> +TI_SGX_KM_SUBDIRECTORY = eurasia_km/eurasiacon/build/linux2/$(TI_SGX_KM_PLATFORM_NAME)_linux
You could use SUBDIR instead of SUBDIRECTORY.
> +
> +define TI_SGX_KM_BUILD_CMDS
> + $(MAKE) $(TI_SGX_KM_MAKE_OPTS) -C $(@D)/$(TI_SGX_KM_SUBDIRECTORY)
Please pass $(TARGET_MAKE_ENV) in the environment, i.e:
$(TARGET_MAKE_ENV) $(MAKE) ...
> +endef
> +
> +define TI_SGX_KM_INSTALL_TARGET_CMDS
> + $(MAKE) $(TI_SGX_KM_MAKE_OPTS) kbuild_install \
> + -C $(@D)/$(TI_SGX_KM_SUBDIRECTORY)
Ditto.
> +endef
> +
> +$(eval $(generic-package))
Thanks,
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
prev parent reply other threads:[~2016-07-14 8:39 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-13 20:13 [Buildroot] [PATCH v2 1/5] package/ti-sgx-km: new package Lothar Felten
2016-07-13 20:13 ` [Buildroot] [PATCH v2 2/5] package/ti-sgx-um: " Lothar Felten
2016-07-13 20:13 ` [Buildroot] [PATCH v2 3/5] package/ti-sgx-demos: " Lothar Felten
2016-07-13 20:13 ` [Buildroot] [PATCH v2 4/5] package/ti-gfx: config help text: list SoCs Lothar Felten
2016-07-13 20:13 ` [Buildroot] [PATCH v2 5/5] package/Config: ti-sgx-km, ti-sgx-um, ti-sgx-demos Lothar Felten
2016-07-14 8:36 ` Thomas Petazzoni
2016-07-14 8:39 ` Thomas Petazzoni [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=20160714103907.525542b8@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox