All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] dependencies: Add host prerequisite for elf2flt
@ 2013-09-04  8:16 Axel Lin
  2013-09-04  8:51 ` Thomas Petazzoni
  0 siblings, 1 reply; 9+ messages in thread
From: Axel Lin @ 2013-09-04  8:16 UTC (permalink / raw)
  To: buildroot

This ensures elf2flt will be built when BR2_PACKAGE_HOST_ELF2FLT=y before
building other packages.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
I don't have a blackfin platform, only test build this for blackfin.
Without this patch, the first time build will result in ELF binary because
busybox is built before elf2flt.
With this path, the result looks good, it produces BFLT executable for busybox.

 support/dependencies/dependencies.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/support/dependencies/dependencies.mk b/support/dependencies/dependencies.mk
index 4a220e0..3b8ea31 100644
--- a/support/dependencies/dependencies.mk
+++ b/support/dependencies/dependencies.mk
@@ -24,6 +24,10 @@ ifeq ($(BR2_CCACHE),y)
 DEPENDENCIES_HOST_PREREQ += host-ccache
 endif
 
+ifeq ($(BR2_PACKAGE_HOST_ELF2FLT),y)
+DEPENDENCIES_HOST_PREREQ += host-elf2flt
+endif
+
 core-dependencies:
 	@HOSTCC="$(firstword $(HOSTCC))" MAKE="$(MAKE)" \
 		DL_TOOLS="$(sort $(DL_TOOLS_DEPENDENCIES))" \
-- 
1.8.1.2

^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-09-04 12:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-04  8:16 [Buildroot] [PATCH] dependencies: Add host prerequisite for elf2flt Axel Lin
2013-09-04  8:51 ` Thomas Petazzoni
2013-09-04 10:34   ` Gustavo Zacarias
2013-09-04 11:19     ` Thomas Petazzoni
2013-09-04 11:27       ` Gustavo Zacarias
2013-09-04 11:34         ` Thomas Petazzoni
     [not found]           ` <CAAXf6LW+C8GpD8vh4D3xQKNHggYOXmbG8xSRBttuYt8+usCnoA@mail.gmail.com>
2013-09-04 12:14             ` Gustavo Zacarias
2013-09-04 12:16               ` Thomas De Schampheleire
2013-09-04 12:14           ` Thomas De Schampheleire

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.