All of lore.kernel.org
 help / color / mirror / Atom feed
* Use of DESTDIR in xeno-config
@ 2018-11-16  8:14 Per Oberg
  2018-11-16 13:29 ` Jan Kiszka
  0 siblings, 1 reply; 3+ messages in thread
From: Per Oberg @ 2018-11-16  8:14 UTC (permalink / raw)
  To: xenomai

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 


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

end of thread, other threads:[~2018-11-16 14:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-16  8:14 Use of DESTDIR in xeno-config Per Oberg
2018-11-16 13:29 ` Jan Kiszka
2018-11-16 14:21   ` Per Oberg

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.