[Buildroot] [PATCH v2] dt: new package

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Feb 25 22:00:52 UTC 2016


Hello,

On Wed, 27 Jan 2016 08:40:38 -0300, gustavo.zacarias at free-electrons.com
wrote:

> diff --git a/package/dt/dt.mk b/package/dt/dt.mk
> new file mode 100644
> index 0000000..290ff91
> --- /dev/null
> +++ b/package/dt/dt.mk
> @@ -0,0 +1,40 @@
> +################################################################################
> +#
> +# dt
> +#
> +################################################################################
> +
> +DT_VERSION = v18.32
> +DT_SITE = http://pkgs.fedoraproject.org/repo/pkgs/dt/$(DT_SOURCE)/3054aeaaba047a1dbe90c2132a382ee2
> +DT_SOURCE = dt-source-$(DT_VERSION).tar.gz
> +DT_SUBDIR = dt.$(DT_VERSION)

Since dt.$(DT_VERSION) was the only sub-directory, I thought it was
easier to do DT_STRIP_COMPONENTS = 2, as it allows to get rid
completely of all DT_SUBDIR references later, so I've done this change.

> +define DT_BUILD_CMDS
> +	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/$(DT_SUBDIR) -f Makefile.linux \
> +	$(TARGET_CONFIGURE_OPTS) \
> +	CFLAGS="$(TARGET_CFLAGS) $(DT_CFLAGS)" \
> +	OS=linux

Indentation was not correct here, the follow-up lines should be
intended with two tabs. I've fixed this minor nit.

Applied to next, thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list