how to make the building process more easily?

Ralf Corsepius ralf.corsepius at rtems.org
Wed Sep 19 03:36:55 UTC 2007


On Wed, 2007-09-19 at 11:18 +0800, rtems skyeye wrote:
> hi,
> I modify the source codes in RTEMS-SRC-DIR, and I configure & make in
> RTEMS-BUILD-DIR.
> If I modified a .c file, I can only make in RTEMS-BUILD-DIR. 
> But If I modified a .h file, I have to copy the file into correct path
> in RTEMS-BUILD-DIR. 
No, you haven't.

You are supposed to edit inside of the srcdir, then everything will be
remade automatically when running make inside of the builddir.

> The .h file is copied to in RTEMS-BUILD-DIR, but the .c file is linked
> in RTEMS-BUILD-DIR.
Right, that's called a VPATH build.

> Is there any methods to make the .h also linked in RTEMS-BUILD-DIR?
I have no idea what you are trying to solve.

Ralf





More information about the users mailing list