From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] Buildroot eclipse integration: doesn't work with custom BR2_HOST_DIR
Date: Thu, 03 Jul 2014 07:37:34 +0200 [thread overview]
Message-ID: <53B4EC1E.9030506@mind.be> (raw)
In-Reply-To: <CAAXf6LVxOJ4h+CcYT1JGneo24OfymmqXrPdVN2C-UXKWg3eczw@mail.gmail.com>
On 30/06/14 15:45, Thomas De Schampheleire wrote:
> Hi,
>
> Normally, BR2_HOST_DIR is $(BASE_DIR)/host which is
> <buildroot>/output/host. However, the user can set a custom
> BR2_HOST_DIR in the buildroot configuration.
>
> If you do that, and select the registration of the toolchain against
> eclipse, you get:
>
> ./support/scripts/eclipse-register-toolchain `readlink -f output`
> i686-pc-linux-gnu- "i586"
> Your project directory does not look like a Buildroot output
> make: *** [target-finalize] Error 1
>
> This is because eclipse-register-toolchain script does:
>
> if test ! -d ${project_directory}/host ; then
> echo "Your project directory does not look like a Buildroot output"
> exit 1
> fi
>
> (where project_directory is the first parameter) and thus assumes that
> host is under <buildroot>/output which is not correct if you set
> BR2_HOST_DIR explicitly to a custom value.
>
> I'm not sure about the internals of the Buildroot Eclipse plugin, so
> it is unclear to me which freedom we have regarding changing the
> helper script.
Seems to me the solution is trivial: create a symlink host -> $(HOST_DIR), like
we do for staging -> $(STAGING_DIR).
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
prev parent reply other threads:[~2014-07-03 5:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-30 13:45 [Buildroot] Buildroot eclipse integration: doesn't work with custom BR2_HOST_DIR Thomas De Schampheleire
2014-07-03 5:37 ` Arnout Vandecappelle [this message]
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=53B4EC1E.9030506@mind.be \
--to=arnout@mind.be \
--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.