Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3 5/7] dtc: add host build
Date: Sun, 18 Jan 2015 17:51:09 +0100	[thread overview]
Message-ID: <20150118165109.GT4275@free.fr> (raw)
In-Reply-To: <1421178007-11877-6-git-send-email-ps.report@gmx.net>

Peter, All,

On 2015-01-13 20:40 +0100, Peter Seiderer spake thusly:
> Signed-off-by: Peter Seiderer <ps.report@gmx.net>
[--SNIP--]
> diff --git a/package/dtc/dtc.mk b/package/dtc/dtc.mk
> index c01fe7b..b0e2f28 100644
> --- a/package/dtc/dtc.mk
> +++ b/package/dtc/dtc.mk
> @@ -43,4 +43,14 @@ define DTC_INSTALL_TARGET_CMDS
>  	$(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) PREFIX=/usr $(DTC_INSTALL_GOAL)
>  endef
>  
> +# host build
> +define HOST_DTC_BUILD_CMDS
> +	$(HOST_CONFIGURE_OPTS) $(MAKE) -C $(@D) PREFIX=/usr

This is a host tool, you should set PREFIX=$(HOST_DIR)/usr  ...

> +endef
> +
> +define HOST_DTC_INSTALL_CMDS
> +	$(MAKE) -C $(@D) DESTDIR=$(HOST_DIR) PREFIX=/usr install-bin

... ditto, and not set a DESTDIR.

Regards,
Yann E. MORIN.

> +endef
> +
>  $(eval $(generic-package))
> +$(eval $(host-generic-package))
> -- 
> 2.1.2
> 

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

  reply	other threads:[~2015-01-18 16:51 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-13 19:40 [Buildroot] [PATCH v3 0/7] dtc: update and add raspberry pi overlay support Peter Seiderer
2015-01-13 19:40 ` [Buildroot] [PATCH v3 1/7] dtc: fix project and download url Peter Seiderer
2015-01-13 19:40 ` [Buildroot] [PATCH v3 2/7] dtc: rename patches to new convention Peter Seiderer
2015-01-13 19:40 ` [Buildroot] [PATCH v3 3/7] dtc: bump version to 1.4.1 Peter Seiderer
2015-01-13 19:40 ` [Buildroot] [PATCH v3 4/7] dtc: add hash Peter Seiderer
2015-01-13 19:40 ` [Buildroot] [PATCH v3 5/7] dtc: add host build Peter Seiderer
2015-01-18 16:51   ` Yann E. MORIN [this message]
2015-01-18 21:52     ` Peter Seiderer
2015-01-13 19:40 ` [Buildroot] [PATCH v3 6/7] dtc: add patches for raspberry pi overlay support Peter Seiderer
2015-01-13 19:40 ` [Buildroot] [PATCH v3 7/7] linux: install dtc only in case package host dtc is not selected Peter Seiderer
2015-01-14 19:49 ` [Buildroot] [PATCH v3 0/7] dtc: update and add raspberry pi overlay support Thomas Petazzoni
2015-01-18 16:49 ` Yann E. MORIN
2015-01-18 21:50   ` Peter Seiderer

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=20150118165109.GT4275@free.fr \
    --to=yann.morin.1998@free.fr \
    --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