From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Wed, 4 Sep 2013 13:19:00 +0200 Subject: [Buildroot] [PATCH] dependencies: Add host prerequisite for elf2flt In-Reply-To: <52270CBA.1000603@zacarias.com.ar> References: <1378282615.12336.1.camel@phoenix> <20130904105101.1662e059@skate> <52270CBA.1000603@zacarias.com.ar> Message-ID: <20130904131900.7225d262@skate> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Dear Gustavo Zacarias, On Wed, 04 Sep 2013 07:34:34 -0300, Gustavo Zacarias wrote: > On 09/04/2013 05:51 AM, Thomas Petazzoni wrote: > > I don't think host-elf2flt should be added at this level of dependency. > > If I understand correctly elf2flt, it interfaces with the linker, so I > > believe making elf2flt a dependency of binutils would probably make a > > bit more sense. > > It's already done correctly in the dependency deparment... > > HOST_ELF2FLT_DEPENDENCIES = host-binutils host-zlib What I was suggesting is that host-elf2flt should have been a dependency of host-binutils. But that's obviously wrong, since elf2flt requires the libbfd library I suspect. > The problem is it's never pulled in when it's necessary - before the > real packages start building, so adding it up as a gcc dep when > BR2_BINFMT_FLAT=y would be appropiate. Indeed. If it's not needed during the gcc build, one solution is to add its as a dependency in host-gcc-final. Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com