[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
how to make the building process more easily?
- Date: Wed, 19 Sep 2007 05:36:55 +0200
- From: ralf.corsepius at rtems.org (Ralf Corsepius)
- Subject: how to make the building process more easily?
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