Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] elf2flt: Allow enabling elf2flt support for blackfin
@ 2013-09-04  1:47 Axel Lin
  2013-09-04  7:55 ` Thomas Petazzoni
  2013-09-05 21:35 ` Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Axel Lin @ 2013-09-04  1:47 UTC (permalink / raw)
  To: buildroot

This allows using toolchain-buildroot to build BFLT executable for blackfin.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
build with elf2flt disabled:
# BR2_PACKAGE_HOST_ELF2FLT is not set
$ file output/target/bin/busybox
output/target/bin/busybox: ELF 32-bit LSB executable, Analog Devices Blackfin, version 1 (SYSV), statically linked, not stripped

build with elf2flt enabled:
BR2_PACKAGE_HOST_ELF2FLT=y
$ file output/target/bin/busybox 
output/target/bin/busybox: BFLT executable - version 4 ram


 package/elf2flt/Config.in.host | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/elf2flt/Config.in.host b/package/elf2flt/Config.in.host
index 31a6c7f..dad48d8 100644
--- a/package/elf2flt/Config.in.host
+++ b/package/elf2flt/Config.in.host
@@ -1,6 +1,6 @@
 config BR2_PACKAGE_HOST_ELF2FLT
 	bool "Enable elf2flt support?"
-	depends on BR2_arm || BR2_sh || BR2_sparc
+	depends on BR2_arm || BR2_bfin || BR2_sh || BR2_sparc
 	help
 	  uCLinux uses a Binary Flat format commonly known as BFLT. It
 	  is a relatively simple and lightweight executable format
-- 
1.8.1.2

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

end of thread, other threads:[~2013-09-05 21:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-04  1:47 [Buildroot] [PATCH] elf2flt: Allow enabling elf2flt support for blackfin Axel Lin
2013-09-04  7:55 ` Thomas Petazzoni
2013-09-05 21:35 ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox