Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Buildroot eclipse integration: doesn't work with custom BR2_HOST_DIR
@ 2014-06-30 13:45 Thomas De Schampheleire
  2014-07-03  5:37 ` Arnout Vandecappelle
  0 siblings, 1 reply; 2+ messages in thread
From: Thomas De Schampheleire @ 2014-06-30 13:45 UTC (permalink / raw)
  To: buildroot

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.

Feedback welcome,

Best regards,
Thomas

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

end of thread, other threads:[~2014-07-03  5:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox