All of lore.kernel.org
 help / color / mirror / Atom feed
From: Axel Lin <axel.lin@ingics.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] elf2flt: Allow enabling elf2flt support for blackfin
Date: Wed, 04 Sep 2013 09:47:49 +0800	[thread overview]
Message-ID: <1378259269.32360.1.camel@phoenix> (raw)

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

             reply	other threads:[~2013-09-04  1:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-04  1:47 Axel Lin [this message]
2013-09-04  7:55 ` [Buildroot] [PATCH] elf2flt: Allow enabling elf2flt support for blackfin Thomas Petazzoni
2013-09-05 21:35 ` 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=1378259269.32360.1.camel@phoenix \
    --to=axel.lin@ingics.com \
    --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 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.