Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Nicolas Ménégale" <nicolas.menegale@openwide.fr>
To: buildroot@busybox.net
Subject: [Buildroot] libffi target header installation problem
Date: Mon, 26 Aug 2013 16:04:39 +0200 (CEST)	[thread overview]
Message-ID: <277645944.5505869.1377525879032.JavaMail.root@openwide.fr> (raw)
In-Reply-To: <20130826154420.72868235@skate>

Well I had, for a specific reason, two folder for two different versions of libffi into $(STAGING_DIR)/usr/lib/:
libffi-3.0.11 and libffi-3.0.10 
This mv command was failing saying:
"will not overwrite just-created <filename> with <sameFilename>"
because it was trying to overwrite the .h it just moved. 

And I think we should be sure that we move the header related with the actual package described into libffi.mk

Does it make sense ?

Thanks a lot,
Nicolas.

----- Mail original -----
> De: "Thomas Petazzoni" <thomas.petazzoni@free-electrons.com>
> ?: "Nicolas M?n?gale" <nicolas.menegale@openwide.fr>
> Cc: buildroot at busybox.net
> Envoy?: Lundi 26 Ao?t 2013 15:44:20
> Objet: Re: [Buildroot] libffi target header installation problem
> 
> Dear Nicolas M?n?gale,
> 
> On Mon, 26 Aug 2013 15:41:51 +0200 (CEST), Nicolas M?n?gale wrote:
> > Hi Everyone,
> > 
> > In libffi.mk:23:
> > mv $(STAGING_DIR)/usr/lib/libffi-*/include/*.h
> > $(STAGING_DIR)/usr/include/
> > 
> > Wouldn't it make more sense this way ?
> > mv $(STAGING_DIR)/usr/lib/libffi-$(LIBFFI_VERSION)/include/*.h
> > $(STAGING_DIR)/usr/include/
> > 
> > Same thing for the LIBFFI_MOVE_TARGET_HEADERS hook below this line.
> > 
> > If so I can send a patch to correct that.
> 
> What "problem" are you seeing with the current code?
> 
> Thomas
> --
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com
> 

  reply	other threads:[~2013-08-26 14:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1626579523.5503469.1377524132514.JavaMail.root@openwide.fr>
2013-08-26 13:41 ` [Buildroot] libffi target header installation problem Nicolas Ménégale
2013-08-26 13:44   ` Thomas Petazzoni
2013-08-26 14:04     ` Nicolas Ménégale [this message]
2013-08-26 14:06       ` Thomas Petazzoni

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=277645944.5505869.1377525879032.JavaMail.root@openwide.fr \
    --to=nicolas.menegale@openwide.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