This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Which default CFLAGS should a HAL define?
Hi Sergei,
Am Dienstag, den 29.06.2010, 15:16 +0300 schrieb Sergei Gavrikov:
> On Tue, 29 Jun 2010, Manuel Borchers wrote:
> cdl_option CYGPKG_DEVS_ETH_ARM_NETX_CFLAGS_ADD {
> display "Additional compiler flags"
> flavor data
> no_define
> default_value { "-D_KERNEL -D__ECOS" }
> description "
> This option modifies the set of compiler flags for
> building the ARM9 NetX ethernet driver package.
> These flags are used in addition to the set of
> global flags."
> }
> }
Nope, I didn't have these options specified (was empty in my driver).
Added it, and now it compiles fine without the global option!
Thanks,
Manuel
--
Manuel Borchers
Web: http://www.matronix.de
eMail: manuel@matronix.de
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss