From: "Tyler Wilson" <TWilson@ugobe.com>
To: <ecos-discuss@ecos.sourceware.org>
Subject: [ECOS] changing compile source in cdl based on platform
Date: Mon, 01 Dec 2008 18:51:00 -0000 [thread overview]
Message-ID: <B3D51DDE088F664CA567D79180F5DD3C553FBF@ev-core.ugobe.local> (raw)
Good day,
FYI, I looked through the CDL guide, but could not find an answer. I
apologize if it is in there, but I think I did try.
I have a component I am adding to our eCos repository, via the CDL. One
of the modules has assembly language versions for different platforms -
x86, ARM, etc. I would like to know how to specify this in the CDL
properly. Something like
cdl_option CYG_USE_ASM {
compile {
if is_defined(HAL_ARM) {
arm_version.S
}
if is_defined(HAL_X86) {
x86_version.S
}
}
}
I know these are really just Tcl scripts, but I am not familiar enough
with Tcl to know the proper syntax, and I thought it would be easier for
somebody on this list to give me an example.
Also, I have tried just adding a .S file to a component, but it is not
being included in the build when 'make'ing. Is there any other magic I
need to enable the assembly of .S files? Also, does the case of the .S
matter? I am using cygwin, btw.
Thank you,
Tyler
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
next reply other threads:[~2008-12-01 18:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-01 18:51 Tyler Wilson [this message]
2008-12-01 19:40 ` Bart Veer
2008-12-01 20:55 ` Sergei Gavrikov
2008-12-02 0:41 ` Bart Veer
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=B3D51DDE088F664CA567D79180F5DD3C553FBF@ev-core.ugobe.local \
--to=twilson@ugobe.com \
--cc=ecos-discuss@ecos.sourceware.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 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).