This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]