This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Makefile generation -ecosconfig tool.
- From: Brij Bihari Pandey <fuzzhead012 at yahoo dot com>
- To: radhakrishnan R <radhaamanji at yahoo dot co dot uk>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Mon, 9 Jun 2003 04:07:12 -0700 (PDT)
- Subject: Re: [ECOS] Makefile generation -ecosconfig tool.
Hello Radhakrishnan,
> == snipped ===
> 2. Suppose i want to specify the
> "OBJECTS := $(COMPILE:.cla=.o.d)
> OBJECTS := $(COMPILE:.b=.o.d)"
> in the makefile then (i.e the files with different
> extensions) , in which CDL file i have to make
> changes???.
I am no expert, but may be, you will need to add one/more of --
- Rules to generate .d and .o files out of your .cla and .b extensions in
rules.mak. Look at the existing rules like "%.o.d : %.cxx ......." , "%.d :
%.cxx ....." in packages/pkgconf/rules.mak, to get the idea.
- Add a file similar to packages/hal/i386/pc/current/src/PKGconf.mak in
appropriate directory for your work.
- As in packages/hal/i386/arch/current/cdl ("cdl_package CYGPKG_HAL_I386 {..}")
add lines like "compile .... " , "make { ...}" in your appropriate cdl files.
Btw, what are .cla and .b extensions for? and for which architecture these kind
of files come into picture?
regards
brij
__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss