From: Per Oberg <pero@wolfram.com>
To: xenomai <xenomai@xenomai.org>
Subject: Use of DESTDIR in xeno-config
Date: Fri, 16 Nov 2018 02:14:39 -0600 (CST) [thread overview]
Message-ID: <2015799461.12414544.1542356079122.JavaMail.zimbra@wolfram.com> (raw)
Hi everyone
I'm confused over the xeno-config use of DESTDIR and cross-compiling. In the documentation (1) it is claimed that it follows the GNU coding standards.
Snippet:
"If DESTDIR was set when installing Xenomai - typically after cross-compiling - DESTDIR must be set to the same value before calling xeno-config for accessing the target-based directories and files from the build system."
The example that is given handles install, and the GNU coding standards (2) also talks about installation. It even specifies: "DESTDIR should be supported only in the install* and uninstall* targets, as those are the only targets where it is useful."
However, xeno-config is hardly used during install.
My specific problem boils down to the following:
I have built a toolchain for Yocto/Poky that has a xeno-config in the sysroot for the target machine. When using it together with autotools used in the etherlab ethercat master i need to set DESTDIR at configure time so that when xeno-config is called the paths to bootstrap.o and dynlib.ld. This feels wrong because of the above statements.
Can anyone enlighten me of the correct way of doing this?
(1) https://xenomai.org/documentation/xenomai-3/html/man1/xeno-config/index.html
(2) https://www.gnu.org/prep/standards/standards.html
TTFN
Per Öberg
next reply other threads:[~2018-11-16 8:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-16 8:14 Per Oberg [this message]
2018-11-16 13:29 ` Use of DESTDIR in xeno-config Jan Kiszka
2018-11-16 14:21 ` Per Oberg
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=2015799461.12414544.1542356079122.JavaMail.zimbra@wolfram.com \
--to=pero@wolfram.com \
--cc=xenomai@xenomai.org \
/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.