* [ECOS] CDL include_files property
@ 2008-12-05 10:52 Jay Foster
2008-12-05 23:22 ` Bart Veer
0 siblings, 1 reply; 2+ messages in thread
From: Jay Foster @ 2008-12-05 10:52 UTC (permalink / raw)
To: 'ecos-discuss@ecos.sourceware.org'; +Cc: Jay Foster
I have a situation where I need to have some header files copied from their
repository directory (<package>/current/include/) to the install tree
(.../install/include/). I added these files using an "include_files"
property in the package CDL file, but they don't get copied to the install
tree. The files do not have a .h or .hxx file extension. Is there some way
to make this work.
As a (bad) kludge, I can add a source file that includes them, which creates
a dependency rule in the makefile that does copy them, but only when the
package is actually built, not when the install tree is populated. These
header files can also be used by other packages, which might get compiled
first (and fail).
Jay
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [ECOS] CDL include_files property
2008-12-05 10:52 [ECOS] CDL include_files property Jay Foster
@ 2008-12-05 23:22 ` Bart Veer
0 siblings, 0 replies; 2+ messages in thread
From: Bart Veer @ 2008-12-05 23:22 UTC (permalink / raw)
To: Jay Foster; +Cc: ecos-discuss
>>>>> "Jay" == Jay Foster <jay@systech.com> writes:
Jay> I have a situation where I need to have some header files
Jay> copied from their repository directory
Jay> (<package>/current/include/) to the install tree
Jay> (.../install/include/). I added these files using an
Jay> "include_files" property in the package CDL file, but they
Jay> don't get copied to the install tree. The files do not have a
Jay> .h or .hxx file extension. Is there some way to make this
Jay> work.
Jay> As a (bad) kludge, I can add a source file that includes
Jay> them, which creates a dependency rule in the makefile that
Jay> does copy them, but only when the package is actually built,
Jay> not when the install tree is populated. These header files
Jay> can also be used by other packages, which might get compiled
Jay> first (and fail).
I am not aware of any problems in this area, and the include_files
property is used in a number of packages (objloader, httpd, ...) so I
assume it works fine for those. You'll need to do some investigation
to find out exactly what does and does not work.
Alternatively you could use one or more custom build rules, see e.g.
CYGINT_HAL_M68K_USE_STANDARD_PLATFORM_STUB_SUPPORT in the M68K
architectural HAL, but it would be better to investigate the
include_files issue.
Bart
--
Bart Veer eCos Configuration Architect
eCosCentric Limited The eCos experts http://www.ecoscentric.com/
Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-12-05 15:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-05 10:52 [ECOS] CDL include_files property Jay Foster
2008-12-05 23:22 ` Bart Veer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).